Example demo from "Agile Web Development With Rails" with Ruby 2.0 and Rails 4.0