Sample app from Rails 4 book