Ticketing application using rails 3