From the RailsApps Learn Ruby on Rails book