Flowdock
method

fields_for_nested_model

Importance_0
fields_for_nested_model(name, object, args, block) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/helpers/form_helper.rb, line 1018
        def fields_for_nested_model(name, object, args, block)
          if object.new_record?
            @template.fields_for(name, object, *args, &block)
          else
            @template.fields_for(name, object, *args) do |builder|
              @template.concat builder.hidden_field(:id)
              block.call(builder)
            end
          end
        end
Register or log in to add new notes.