diff options
Diffstat (limited to 'lib/arel/primitives/attribute.rb')
-rw-r--r-- | lib/arel/primitives/attribute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/primitives/attribute.rb b/lib/arel/primitives/attribute.rb index 5895f7e9b9..30c03839e2 100644 --- a/lib/arel/primitives/attribute.rb +++ b/lib/arel/primitives/attribute.rb @@ -35,9 +35,9 @@ module Arel def ==(other) self.class == other.class and - relation == other.relation and name == other.name and @alias == other.alias and + relation == other.relation and ancestor == other.ancestor end |