Permalink
Browse files

Fix typo in docs. HABTM associations should use a pluralized name

  • Loading branch information...
1 parent f02d4dd commit bf044a9bbe222b45cfa58e65651749ec70f2793b @mariozig mariozig committed Jun 25, 2013
@@ -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
@@ -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

0 comments on commit bf044a9

Please sign in to comment.