def ==(other)
return true if super
return false unless other.kind_of?(self.class)
@model == other.model &&
@reload == other.reload? &&
@unique == other.unique? &&
@offset == other.offset &&
@limit == other.limit &&
@order == other.order &&
@add_reversed == other.add_reversed? &&
@fields == other.fields &&
@links == other.links &&
@includes == other.includes &&
@conditions.sort_by { |c| c.at(0).hash + c.at(1).hash + c.at(2).hash } == other.conditions.sort_by { |c| c.at(0).hash + c.at(1).hash + c.at(2).hash }
end