aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-01-13 15:25:47 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2014-01-13 15:25:47 -0800
commit81d10b9add4283a6740f6682e4579d15c5475e6c (patch)
treeab60182d5b926165b5027cd1879bf957eb262492 /activerecord/lib
parent492bad71f384c71e7e2708d6733d69f478657613 (diff)
downloadrails-81d10b9add4283a6740f6682e4579d15c5475e6c.tar.gz
rails-81d10b9add4283a6740f6682e4579d15c5475e6c.tar.bz2
rails-81d10b9add4283a6740f6682e4579d15c5475e6c.zip
avoid more dynamic symbols
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index b6fd75e72b..bba65b85fb 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -855,7 +855,7 @@ module ActiveRecord
end
single_val_method = Relation::SINGLE_VALUE_METHODS.include?(scope)
- unscope_code = :"#{scope}_value#{'s' unless single_val_method}="
+ unscope_code = "#{scope}_value#{'s' unless single_val_method}="
case scope
when :order