diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-18 14:03:29 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-18 14:03:29 -0700 |
commit | 6b50bfb0f08b979a0dbd0914443a9d8aafc6cf0a (patch) | |
tree | fef33e1ec62fd8150b6ae1db8e38057f3d01a68d /actionpack/lib | |
parent | 38f6533792985dac7ad790225e72252ac3d8b51c (diff) | |
download | rails-6b50bfb0f08b979a0dbd0914443a9d8aafc6cf0a.tar.gz rails-6b50bfb0f08b979a0dbd0914443a9d8aafc6cf0a.tar.bz2 rails-6b50bfb0f08b979a0dbd0914443a9d8aafc6cf0a.zip |
freeze is not necessary
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index e62447c842..a49ed5e7df 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -863,9 +863,9 @@ module ActionView attr_reader :method_name, :object_name - DEFAULT_FIELD_OPTIONS = { "size" => 30 }.freeze - DEFAULT_RADIO_OPTIONS = { }.freeze - DEFAULT_TEXT_AREA_OPTIONS = { "cols" => 40, "rows" => 20 }.freeze + DEFAULT_FIELD_OPTIONS = { "size" => 30 } + DEFAULT_RADIO_OPTIONS = { } + DEFAULT_TEXT_AREA_OPTIONS = { "cols" => 40, "rows" => 20 } def initialize(object_name, method_name, template_object, object = nil) @object_name, @method_name = object_name.to_s.dup, method_name.to_s.dup |