Fix the named scope equality check

This commit is contained in:
Pratik Naik 2010-01-19 17:45:48 +05:30
parent 4148c686ec
commit 9c7c7104f6

@ -182,7 +182,7 @@ def count(*args)
end
def ==(other)
to_a == other.to_a
other.respond_to?(:to_a) ? to_a == other.to_a : false
end
private