aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-15 19:44:06 -0700
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-05-15 19:44:06 -0700
commite4ee2a35c8dc62efed965bf0023a517c65f1c9e7 (patch)
treef32170a1e0e6b86600cc981844e632efbb38beed /lib
parentfdffe2160a4b855d7d9e611c6326f4a509c7cb07 (diff)
downloadrails-e4ee2a35c8dc62efed965bf0023a517c65f1c9e7.tar.gz
rails-e4ee2a35c8dc62efed965bf0023a517c65f1c9e7.tar.bz2
rails-e4ee2a35c8dc62efed965bf0023a517c65f1c9e7.zip
worser
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/relations/grouping.rb2
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