diff options
Diffstat (limited to 'lib/arel/relations/selection.rb')
-rw-r--r-- | lib/arel/relations/selection.rb | 2 |
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 |