diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-13 15:25:47 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-01-13 15:25:47 -0800 |
commit | 81d10b9add4283a6740f6682e4579d15c5475e6c (patch) | |
tree | ab60182d5b926165b5027cd1879bf957eb262492 /activerecord/lib | |
parent | 492bad71f384c71e7e2708d6733d69f478657613 (diff) | |
download | rails-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.rb | 2 |
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 |