app from Rails 4 In Action book