diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index e4b90e42f2..32233d26d6 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -45,6 +45,14 @@ module ActionView
#
#
#
+ # If the object name contains square brackets the id for the object will be inserted. Example:
+ #
+ # <%= textfield "person[]", "name" %>
+ #
+ # ...becomes:
+ #
+ #
+ #
# If the helper is being used to generate a repetitive sequence of similar form elements, for example in a partial
# used by render_collection_of_partials, the "index" option may come in handy. Example:
#