Skip to content

Commit

Permalink
Fix AP's AR integration tests warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Jan 20, 2010
1 parent 1fb78e3 commit f7d94cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/named_scope.rb
Expand Up @@ -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
Expand Down

0 comments on commit f7d94cd

Please sign in to comment.