class TicketQuery
include Mongoid::Document
include Mongoid::Timestamps
field :query
belongs_to :ticket
has_many :ticket_query_responses, :dependent => :destroy
end