mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fisting the postgresql tests
This commit is contained in:
@@ -215,7 +215,8 @@ module ActiveRecord
|
||||
|
||||
select_statement << "#{group_field} AS #{group_alias}"
|
||||
|
||||
relation = except(:group).select(select_statement).group(group)
|
||||
relation = except(:group).group(group)
|
||||
relation.select_values = select_statement
|
||||
|
||||
calculated_data = @klass.connection.select_all(relation.to_sql)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user