diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 07f3d983224a44a48a4a91d59f990d2d866e42c1..6e769aa56042dfa3d0f694bdec0652c09e44b9ae 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -590,6 +590,9 @@ def apply_form_for_options!(record, object, options) #:nodoc: # Skipped if a :url is passed. # * :scope - The scope to prefix input field names with and # thereby how the submitted parameters are grouped in controllers. + # * :namespace - A namespace for your form to ensure uniqueness of + # id attributes on form elements. The namespace attribute will be prefixed + # with underscore on the generated HTML id. # * :model - A model object to infer the :url and # :scope by, plus fill out input field values. # So if a +title+ attribute is set to "Ahoy!" then a +title+ input