aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYauheni Dakuka <yauheni.dakuka@gmail.com>2017-06-09 14:54:28 +0300
committerGitHub <noreply@github.com>2017-06-09 14:54:28 +0300
commit3910002deaec89e9af73f37a963eef719e7e0f5d (patch)
tree6c92f0d1f844003757c90485c7c6718667725a97 /guides
parent73715f29ab4c56ebcd74403903ebd691677ef318 (diff)
downloadrails-3910002deaec89e9af73f37a963eef719e7e0f5d.tar.gz
rails-3910002deaec89e9af73f37a963eef719e7e0f5d.tar.bz2
rails-3910002deaec89e9af73f37a963eef719e7e0f5d.zip
remove the extra comma in association_basics.md
Diffstat (limited to 'guides')
-rw-r--r--guides/source/association_basics.md2
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
```