diff options
author | Mikhail Dieterle <MikDiet@gmail.com> | 2016-01-30 19:32:23 +0300 |
---|---|---|
committer | Mikhail Dieterle <MikDiet@gmail.com> | 2016-01-30 19:32:23 +0300 |
commit | 14037b8d8e96520a19afdac826fe660ab2e17239 (patch) | |
tree | 2396fc6ec241a06939d0365875ac88bb8e8bbc82 /guides | |
parent | b0ea06b3dbf6200b4728d9cf1a3a47251c96b78d (diff) | |
download | rails-14037b8d8e96520a19afdac826fe660ab2e17239.tar.gz rails-14037b8d8e96520a19afdac826fe660ab2e17239.tar.bz2 rails-14037b8d8e96520a19afdac826fe660ab2e17239.zip |
[ci skip] fix typo
Diffstat (limited to 'guides')
-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 ``` |