The code from the Ruby on Rails Getting Started Guide (Rails 4)