public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Removed unused option from FormHelper#fields_for [#641 state:resolved]

Signed-off-by: Joshua Peek <josh@joshpeek.com>
clemens (author)
Sat Jul 19 10:40:30 -0700 2008
josh (committer)
Sat Jul 19 10:40:30 -0700 2008
commit  938caf4e6b2448b45939d36824794ea0aa5e1804
tree    e12419659bf698a936a45ce9b22429c4049b8ddc
parent  e23156e87bd32206a5ea529fbecc04fdf37d7bc2
...
304
305
306
307
308
309
310
311
312
313
...
304
305
306
 
 
 
 
307
308
309
0
@@ -304,10 +304,6 @@ module ActionView
0
         when String, Symbol
0
           object_name = record_or_name_or_array
0
           object = args.first
0
-        when Array
0
-          object = record_or_name_or_array.last
0
-          object_name = ActionController::RecordIdentifier.singular_class_name(object)
0
-          apply_form_for_options!(record_or_name_or_array, options)
0
         else
0
           object = record_or_name_or_array
0
           object_name = ActionController::RecordIdentifier.singular_class_name(object)

Comments