diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-09-09 16:06:15 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-09-09 21:16:06 +0200 |
commit | 07913788f99f45a3c4ca41b518885468ac3a3915 (patch) | |
tree | 5141d9c8584bb7da7b40d7985e57ca3eaaa15353 /activerecord/lib | |
parent | 5f7c42413b099f8811c45a27202cce5dc9e7d285 (diff) | |
download | rails-07913788f99f45a3c4ca41b518885468ac3a3915.tar.gz rails-07913788f99f45a3c4ca41b518885468ac3a3915.tar.bz2 rails-07913788f99f45a3c4ca41b518885468ac3a3915.zip |
Interpolation requires double quotes
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/calculations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/calculations.rb b/activerecord/lib/active_record/calculations.rb index a675af4787..80992dd34b 100644 --- a/activerecord/lib/active_record/calculations.rb +++ b/activerecord/lib/active_record/calculations.rb @@ -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 |