tickets/app/models/ticket_query.rb

9 lines
171 B
Ruby
Raw Normal View History

2015-08-03 10:54:33 +00:00
class TicketQuery
include Mongoid::Document
include Mongoid::Timestamps
field :query
belongs_to :ticket
has_many :ticket_query_responses, :dependent => :destroy
end