diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/relations/grouping.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/relations/grouping.rb b/lib/arel/relations/grouping.rb index 3f0ea54407..2c39d23b2d 100644 --- a/lib/arel/relations/grouping.rb +++ b/lib/arel/relations/grouping.rb @@ -17,7 +17,7 @@ module Arel end def name - table.name + '_aggregation' + relation.name + '_aggregation' end end end
\ No newline at end of file |