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 1090
        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|
              block.call(builder)
              @template.concat builder.hidden_field(:id) unless builder.emitted_hidden_id?
            end
          end
        end
Register or log in to add new notes.