Skip to content

Commit

Permalink
Merge pull request #11105 from mariozig/correct-documentation
Browse files Browse the repository at this point in the history
Fix typo in docs. HABTM associations should use a pluralized name [ci skip]
  • Loading branch information
carlosantoniodasilva committed Jun 25, 2013
2 parents dd9d869 + bf044a9 commit a1bcf1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/form_options_helper.rb
Expand Up @@ -653,7 +653,7 @@ def collection_radio_buttons(object, method, collection, value_method, text_meth
#
# Example object structure for use with this method:
# class Post < ActiveRecord::Base
# has_and_belongs_to_many :author
# has_and_belongs_to_many :authors
# end
# class Author < ActiveRecord::Base
# has_and_belongs_to_many :posts
Expand Down
2 changes: 1 addition & 1 deletion guides/source/action_view_overview.md
Expand Up @@ -1090,7 +1090,7 @@ Example object structure for use with this method:

```ruby
class Post < ActiveRecord::Base
has_and_belongs_to_many :author
has_and_belongs_to_many :authors
end

class Author < ActiveRecord::Base
Expand Down

0 comments on commit a1bcf1f

Please sign in to comment.