lib/active_house/querying.rb in active_house-0.1.5 vs lib/active_house/querying.rb in active_house-0.2.0

- old
+ new

@@ -9,10 +9,10 @@ class_attribute :_query_class, instance_accessor: false self._query_class = ActiveHouse::Query end class_methods do - delegate :to_a, :select, :where, :group_by, :limit, to: :all + delegate :to_a, :select, :where, :group_by, :limit, :order_by, :having, to: :all def all _query_class.new(self) end end