Permalink
Browse files

Remove redundant to_sym call.

[#6483 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information...
1 parent a8dae08 commit 726599df984daca45afe5b969c74b416fcd6c11a @r00k r00k committed with spastorino Feb 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/ordered_options.rb
@@ -31,7 +31,7 @@ def [](key)
def method_missing(name, *args)
if name.to_s =~ /(.*)=$/
- self[$1.to_sym] = args.first
+ self[$1] = args.first
else
self[name]
end

0 comments on commit 726599d

Please sign in to comment.