lib/active_house/querying.rb in active_house-0.3.1 vs lib/active_house/querying.rb in active_house-0.3.2
- 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, :order_by, :having, to: :all
+ delegate :to_a, :select, :where, :group_by, :limit, :order_by, :having, :from, to: :all
def all
_query_class.new(self)
end
end