1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix AP's AR integration tests warning

This commit is contained in:
Pratik Naik 2010-01-20 20:40:20 +05:30
parent 1fb78e3ed8
commit f7d94cdc6d

View file

@ -165,7 +165,7 @@ module ActiveRecord
end
def ==(other)
other.respond_to?(:to_a) ? to_a == other.to_a : false
other.respond_to?(:to_ary) ? to_a == other.to_a : false
end
private