diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2016-02-07 07:14:50 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2016-02-07 07:14:50 +0000 |
commit | bef16522db074307406db62af8f293a5da165447 (patch) | |
tree | 7e7b2ca3cbff2cace3cf668d3725535fc00e5c6c /guides/source | |
parent | 5b1f3e5b75b98af1c3e68811e6d5459cc08f495d (diff) | |
parent | 87f060a7ee00fa87b1b90ecb831e9fcb6b2376a7 (diff) | |
download | rails-bef16522db074307406db62af8f293a5da165447.tar.gz rails-bef16522db074307406db62af8f293a5da165447.tar.bz2 rails-bef16522db074307406db62af8f293a5da165447.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/association_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index accce5a904..3386791cdb 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -726,7 +726,7 @@ class Author < ApplicationRecord has_many :books, inverse_of: :author end -class book < ApplicationRecord +class Book < ApplicationRecord belongs_to :author, inverse_of: :books end ``` |