Permalink
Browse files

Remove duplicated accepts_nested_attributes description

there are just the same description about accepts_nested_attributes [ci skip]
  • Loading branch information...
1 parent 573df1c commit 6f9baaec790a59eed3813731c54e43a22795a04b @ma2gedev ma2gedev committed Mar 21, 2013
Showing with 0 additions and 16 deletions.
  1. +0 −16 actionpack/lib/action_view/helpers/form_helper.rb
@@ -655,14 +655,6 @@ def apply_form_for_options!(record, object, options) #:nodoc:
# ...
# <% end %>
#
- # When projects is already an association on Person you can use
- # +accepts_nested_attributes_for+ to define the writer method for you:
- #
- # class Person < ActiveRecord::Base
- # has_many :projects
- # accepts_nested_attributes_for :projects
- # end
- #
# If you want to destroy any of the associated models through the
# form, you have to enable it first using the <tt>:allow_destroy</tt>
# option for +accepts_nested_attributes_for+:
@@ -1425,14 +1417,6 @@ def #{selector}(method, options = {}) # def text_field(method, options = {})
# ...
# <% end %>
#
- # When projects is already an association on Person you can use
- # +accepts_nested_attributes_for+ to define the writer method for you:
- #
- # class Person < ActiveRecord::Base
- # has_many :projects
- # accepts_nested_attributes_for :projects
- # end
- #
# If you want to destroy any of the associated models through the
# form, you have to enable it first using the <tt>:allow_destroy</tt>
# option for +accepts_nested_attributes_for+:

0 comments on commit 6f9baae

Please sign in to comment.