aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/relations/take.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/relations/take.rb')
-rw-r--r--lib/arel/relations/take.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/relations/take.rb b/lib/arel/relations/take.rb
index d2743d7a6e..80aa62a878 100644
--- a/lib/arel/relations/take.rb
+++ b/lib/arel/relations/take.rb
@@ -7,7 +7,7 @@ module Arel
end
def ==(other)
- self.class == other.class and
+ Take == other.class and
relation == other.relation and
taken == other.taken
end