Better realization of an example app from the Agile Web Development with Rails 4 book