Permalink
Browse files

Fix AP's AR integration tests warning

  • Loading branch information...
1 parent 1fb78e3 commit f7d94cdc6d01617ff4579fda6a56a3e94be47ffe @lifo lifo committed Jan 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/named_scope.rb
@@ -165,7 +165,7 @@ def last(*args)
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

0 comments on commit f7d94cd

Please sign in to comment.