1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

This commit is contained in:
mariozig 2013-06-25 15:35:03 -07:00
parent f02d4ddc99
commit bf044a9bbe
2 changed files with 2 additions and 2 deletions

View file

@ -653,7 +653,7 @@ module ActionView
#
# 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

View file

@ -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