diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-08-16 17:27:45 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-08-16 17:27:45 -0300 |
commit | 770fca10fba68fa14308f33e923493e6f63bfa35 (patch) | |
tree | 3c8286a31f95c40163ab403625785e33bd48816c /activerecord/lib/active_record/calculations.rb | |
parent | 796ec652ade1bfbf074fc1cfd2cd2e7794f494bc (diff) | |
download | rails-770fca10fba68fa14308f33e923493e6f63bfa35.tar.gz rails-770fca10fba68fa14308f33e923493e6f63bfa35.tar.bz2 rails-770fca10fba68fa14308f33e923493e6f63bfa35.zip |
Remove group when building the relation, it will be added later if
options[:group] is given.
Diffstat (limited to 'activerecord/lib/active_record/calculations.rb')
-rw-r--r-- | activerecord/lib/active_record/calculations.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/calculations.rb b/activerecord/lib/active_record/calculations.rb index 658101d8ee..82a171c6ad 100644 --- a/activerecord/lib/active_record/calculations.rb +++ b/activerecord/lib/active_record/calculations.rb @@ -149,7 +149,6 @@ module ActiveRecord arel_table(options[:from]). join(construct_join(options[:joins], scope)). where(construct_conditions(options[:conditions], scope)). - group(construct_group(options[:group], options[:having], scope)). order(options[:order]). take(options[:limit]). skip(options[:offset]) |