mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove redundant to_sym call.
[#6483 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
parent
a8dae084c9
commit
726599df98
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module ActiveSupport #:nodoc:
|
|||
|
||||
def method_missing(name, *args)
|
||||
if name.to_s =~ /(.*)=$/
|
||||
self[$1.to_sym] = args.first
|
||||
self[$1] = args.first
|
||||
else
|
||||
self[name]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue