lib/searchlogic/conditions/any_or_all.rb in searchlogic-1.6.2 vs lib/searchlogic/conditions/any_or_all.rb in searchlogic-1.6.3
- old
+ new
@@ -14,10 +14,10 @@
(association_objects + group_objects).each { |object| object.any = value }
@any = value
end
def any # :nodoc:
- any?
+ @any
end
# Convenience method for determining if we should join the conditions with "AND" or "OR".
def any?
["true", "1", "yes"].include? @any.to_s
\ No newline at end of file