diff options
author | Ben Orenstein <ben.orenstein@gmail.com> | 2011-02-28 10:52:09 -0500 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-02-28 16:43:12 -0200 |
commit | 726599df984daca45afe5b969c74b416fcd6c11a (patch) | |
tree | 70cd536e9cd7338f7a8ca06cdf7d09b41245c3c3 /activesupport/lib | |
parent | a8dae084c9c1250d7d4a5a70800114b57fbceff6 (diff) | |
download | rails-726599df984daca45afe5b969c74b416fcd6c11a.tar.gz rails-726599df984daca45afe5b969c74b416fcd6c11a.tar.bz2 rails-726599df984daca45afe5b969c74b416fcd6c11a.zip |
Remove redundant to_sym call.
[#6483 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/ordered_options.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/ordered_options.rb b/activesupport/lib/active_support/ordered_options.rb index 124e1a74f8..b40cbceb7e 100644 --- a/activesupport/lib/active_support/ordered_options.rb +++ b/activesupport/lib/active_support/ordered_options.rb @@ -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 |