Skip to content

Commit d41fa48

Browse files
Merge pull request #49617 from cattekin/cast_guides
Use correct tense of `cast` for guides [ci-skip] (cherry picked from commit 1705fa2)
1 parent 72656c5 commit d41fa48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

guides/source/active_record_postgresql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ irb> macbook.address
447447
* [type definition](https://www.postgresql.org/docs/current/static/datatype-geometric.html)
448448

449449
All geometric types, with the exception of `points` are mapped to normal text.
450-
A point is casted to an array containing `x` and `y` coordinates.
450+
A point is cast to an array containing `x` and `y` coordinates.
451451

452452
### Interval
453453

guides/source/active_record_validations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ set `:only_integer` to true. Then it will use the
529529
```
530530

531531
regular expression to validate the attribute's value. Otherwise, it will try to
532-
convert the value to a number using `Float`. `Float`s are casted to `BigDecimal` using the column's precision value or 15.
532+
convert the value to a number using `Float`. `Float`s are cast to `BigDecimal` using the column's precision value or 15.
533533

534534
```ruby
535535
class Player < ApplicationRecord

0 commit comments

Comments
 (0)