Skip to content

Commit 701af37

Browse files
authored
Merge pull request rails#53300 from rasheedmhd/patch-1
Update active_record_basics.md [ci skip]
2 parents 154912f + 235c501 commit 701af37

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)