A Rails lesson, from the book "Agile Web Development with Rails 4th Edition"