diff options
author | Clemens Kofler <clemens@railway.at> | 2008-07-19 12:40:30 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-19 12:40:30 -0500 |
commit | 938caf4e6b2448b45939d36824794ea0aa5e1804 (patch) | |
tree | e12419659bf698a936a45ce9b22429c4049b8ddc | |
parent | e23156e87bd32206a5ea529fbecc04fdf37d7bc2 (diff) | |
download | rails-938caf4e6b2448b45939d36824794ea0aa5e1804.tar.gz rails-938caf4e6b2448b45939d36824794ea0aa5e1804.tar.bz2 rails-938caf4e6b2448b45939d36824794ea0aa5e1804.zip |
Removed unused option from FormHelper#fields_for [#641 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index fa26aa4640..4fa46d9ee3 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -304,10 +304,6 @@ module ActionView when String, Symbol object_name = record_or_name_or_array object = args.first - when Array - object = record_or_name_or_array.last - object_name = ActionController::RecordIdentifier.singular_class_name(object) - apply_form_for_options!(record_or_name_or_array, options) else object = record_or_name_or_array object_name = ActionController::RecordIdentifier.singular_class_name(object) |