Skip to content

Commit

Permalink
Interpolation requires double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
NZKoz committed Sep 9, 2008
1 parent 5f7c424 commit 0791378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/calculations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def construct_calculation_sql(operation, column_name, options) #:nodoc:

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

Expand Down

0 comments on commit 0791378

Please sign in to comment.