aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-06-09 17:27:15 +0530
committerGitHub <noreply@github.com>2017-06-09 17:27:15 +0530
commit72505d496920880cd7ecea56fa75275c15b66eb0 (patch)
tree6c92f0d1f844003757c90485c7c6718667725a97
parent73715f29ab4c56ebcd74403903ebd691677ef318 (diff)
parent3910002deaec89e9af73f37a963eef719e7e0f5d (diff)
downloadrails-72505d496920880cd7ecea56fa75275c15b66eb0.tar.gz
rails-72505d496920880cd7ecea56fa75275c15b66eb0.tar.bz2
rails-72505d496920880cd7ecea56fa75275c15b66eb0.zip
Merge pull request #29396 from ydakuka/patch-2
remove the extra comma in association_basics.md [ci skip]
-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
```