lib/active_enumerable/where.rb in active_enumerable-0.1.1 vs lib/active_enumerable/where.rb in active_enumerable-0.2.0

- old
+ new

@@ -53,9 +53,10 @@ # # Additional conditions can be passed to where in hash form. # # <#ActiveEnumerable>.where(id: 1).or(author_id: 3) # + # @see ActiveEnumerable::Finder#is_of for all usages of conditions. def where(conditions=nil) return WhereNotChain.new(all, method(:__new_relation__)) if conditions.nil? enable_or create_where_relation(conditions, to_a.select do |record| Finder.new(record).is_of(conditions) end)