app from the Rails 4 in Action book