From 781f84eef3302a195d77f2e652ab917178012bba Mon Sep 17 00:00:00 2001 From: Ben Orenstein Date: Mon, 28 Feb 2011 10:52:09 -0500 Subject: [PATCH] Remove redundant to_sym call. --- .../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 124e1a7..b40cbce 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 -- 1.7.0