diff options
Diffstat (limited to 'lib/active_relation/relations/projection.rb')
-rw-r--r-- | lib/active_relation/relations/projection.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/active_relation/relations/projection.rb b/lib/active_relation/relations/projection.rb index 78698603f0..9e0725f6c5 100644 --- a/lib/active_relation/relations/projection.rb +++ b/lib/active_relation/relations/projection.rb @@ -8,7 +8,9 @@ module ActiveRelation end def ==(other) - self.class == other.class and relation == other.relation and projections == other.projections + self.class == other.class and + relation == other.relation and + projections == other.projections end def qualify |