Category Archives: Ruby on Rails

Ruby on Rails on Windows 7 using Cygwin

If you’re already familiar with the terminal window environment on Mac OS or Linux, here is how to setup a similar environment on Windows 7 using Cygwin. Install Cygwin Download setup.exe from from the Cygwin install page. Make note of … Continue reading

Posted in Ruby on Rails | Leave a comment

RailsConf 2011 QR Collage

RailsConf 2011 officially ended Thursday, and it was awesome. Knowledge, ideas, and inspiration were in abundance from beginning to end. I left with a lengthy list of tools and techniques to research. I also flew out Friday morning on zero … Continue reading

Posted in Ruby on Rails | Tagged , | Leave a comment

Opening Keynote

#RailsConf starts for real with Chad Fowler from Living Social and Ben Scofield from Heroku at the podium. They start with a few questions. They discover there are many new attendees, and a few all the way back from 2006. … Continue reading

Posted in Ruby on Rails | Tagged | Leave a comment

Tutorial Day Recap

#RailsConf tutorial day was a great success. I’m say it with confidence because unlike my last RailsConf in 2008 almost everyone in on Twitter, and no problem goes unreported. So except for minor wi-fi issues and a few comments on … Continue reading

Posted in Ruby on Rails | Tagged | Leave a comment

Rails Best Practices

Notes from #RailsConf tutorial by Gregg Pollack from Envy Labs. Great presentation on a sometimes contentious subject, with an easy to follow slide deck. Useful advice for journeyman and above coders, and some great ‘discussion starters’ as well. Made excellent … Continue reading

Posted in Ruby on Rails | Tagged | 2 Comments

HTML5 – Beyond the Buzzwords

Notes from tutorial by Mike Subelsky. Very hands on as we all work through his examples. Browsers are more capable than we’re use to them being. Features that used to require external dependencies now can be done easily right in … Continue reading

Posted in Ruby on Rails | Tagged , | Leave a comment

Nginx SSL config for PCI Compliance

Our current preferred setup for Ruby on Rails hosting is Phusion Passenger aka mod_rails on the Nginx web server. However, the default configuration of Nginx SSL isn’t PCI compliant. To pass a PCI certification scan requires a couple simple changes … Continue reading

Posted in Ruby on Rails | Tagged , , , | Leave a comment

RailsConf 2011 Preview

Monday marks the beginning of RailsConf 2011 in Baltimore. It’s the largest conference of the year for Ruby on Rails developers, with projected attendance of 1200+. RailsConf 2011 Co-presented by O’Reilly and Ruby Central, the conference features: Four entire days … Continue reading

Posted in Ruby on Rails | Tagged | Leave a comment

Side Effects of Rails Security Fix

Protection against Cross Site Request Forgery (CSRF) is an important Rails security feature. Triggered by calling the protect_from_forgery method within ApplicationController, this module helps avoid attacks from tricksy web page that generate forged requests to your application. I won’t describe … Continue reading

Posted in Ruby on Rails | Tagged , , , | Leave a comment

Verifying select field value with Cucumber and Webrat

I’ve been using Cucumber and Webrat for only a couple months now. Today I needed something new and it wasn’t obvious how to make it work. Here’s an example of a test in Cucumber: Which relies on Webrat: But what … Continue reading

Posted in Ruby on Rails | Tagged , | 16 Comments