Rails 4 in Action - Ticketee code example (final)