Chapter One example from Ruby on Rails 3 Tutorial