Remove group when building the relation, it will be added later if

options[:group] is given.
This commit is contained in:
Emilio Tagua
2009-08-16 17:27:45 -03:00
parent 796ec652ad
commit 770fca10fb

View File

@@ -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])