Skip to content

Commit 31f8a6b

Browse files
authored
Merge pull request rails#54342 from fatkodima/fix-getting_started-typo
Improve wording in getting_started.md guide [skip ci]
2 parents 47f9165 + 9f131a1 commit 31f8a6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

guides/source/getting_started.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,7 @@ This generates a `SELECT` SQL query but also adds a `WHERE` clause to filter the
482482
records that have a `name` matching `"Pants"`. This also returns an
483483
`ActiveRecord::Relation` because multiple records may have the same name.
484484

485-
We can use `order(name: :asc)` to sort records by name in ascending alphabetical
486-
order by `name`.
485+
We can use `order(name: :asc)` to sort records by name in ascending alphabetical order.
487486

488487
```irb
489488
store(dev)> Product.order(name: :asc)

0 commit comments

Comments
 (0)