Skip to content

Commit

Permalink
remove the extra comma in association_basics.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ydakuka authored Jun 9, 2017
1 parent 73715f2 commit 3910002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/association_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 3910002

Please sign in to comment.