user.rb and ticket_class.rb
    added :ticket for has_many
ticket.rb model generated