mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Remove group when building the relation, it will be added later if
options[:group] is given.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user