提交 3910002d 编写于 作者: Y Yauheni Dakuka 提交者: GitHub

remove the extra comma in association_basics.md

上级 73715f29
......@@ -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
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册