1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Interpolation requires double quotes

This commit is contained in:
Michael Koziarski 2008-09-09 16:06:15 +02:00
parent 5f7c42413b
commit 07913788f9

View file

@ -217,7 +217,7 @@ module ActiveRecord
sql << " ORDER BY #{options[:order]} " if options[:order]
add_limit!(sql, options, scope)
sql << ') AS #{aggregate_alias}_subquery' if use_workaround
sql << ") AS #{aggregate_alias}_subquery" if use_workaround
sql
end