Skip to content

Commit 235c501

Browse files
authored
Update active_record_basics.md
Modified "# Find all books with a given an author, sort by created_at in reverse chronological order." to make it correct and more clearer in meaning. Change: "# Find all books by a given author, sort by created_at in reverse chronological order."
1 parent d64611b commit 235c501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_record_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 42], ["LIM
501501
```
502502

503503
```ruby
504-
# Find all books with a given an author, sort by created_at in reverse chronological order.
504+
# Find all books by a given author, sort by created_at in reverse chronological order.
505505
Book.where(author: "Douglas Adams").order(created_at: :desc)
506506
```
507507

0 commit comments

Comments
 (0)