Rails application for ticket management