aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/relations/selection.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/relations/selection.rb')
-rw-r--r--lib/arel/relations/selection.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/relations/selection.rb b/lib/arel/relations/selection.rb
index c50db1c88a..0c5956d2fc 100644
--- a/lib/arel/relations/selection.rb
+++ b/lib/arel/relations/selection.rb
@@ -13,7 +13,7 @@ module Arel
end
def ==(other)
- self.class == other.class and
+ Selection == other.class and
relation == other.relation and
predicate == other.predicate
end