diff options
author | Yauheni Dakuka <yauheni.dakuka@gmail.com> | 2017-06-09 14:54:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 14:54:28 +0300 |
commit | 3910002deaec89e9af73f37a963eef719e7e0f5d (patch) | |
tree | 6c92f0d1f844003757c90485c7c6718667725a97 /guides/source | |
parent | 73715f29ab4c56ebcd74403903ebd691677ef318 (diff) | |
download | rails-3910002deaec89e9af73f37a963eef719e7e0f5d.tar.gz rails-3910002deaec89e9af73f37a963eef719e7e0f5d.tar.bz2 rails-3910002deaec89e9af73f37a963eef719e7e0f5d.zip |
remove the extra comma in association_basics.md
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 5c7d1f5365..b0621be8c3 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -1831,7 +1831,7 @@ The `limit` method lets you restrict the total number of objects that will be fe class Author < ApplicationRecord has_many :recent_books, -> { order('published_at desc').limit(100) }, - class_name: "Book", + class_name: "Book" end ``` |