Permalink
Browse files

avoid more dynamic symbols

  • Loading branch information...
1 parent 492bad7 commit 81d10b9add4283a6740f6682e4579d15c5475e6c @tenderlove tenderlove committed Jan 13, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/relation/query_methods.rb
@@ -855,7 +855,7 @@ def symbol_unscoping(scope)
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

0 comments on commit 81d10b9

Please sign in to comment.