mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix docs to update ruby version in reference URLs [ci skip]
Rails6 requires Ruby version 2.5.0 or later.
This commit is contained in:
parent
3523b9d009
commit
b0b375677a
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ Event.where("payload->>'kind' = ?", "user_renamed")
|
||||||
* [type definition](https://www.postgresql.org/docs/current/static/rangetypes.html)
|
* [type definition](https://www.postgresql.org/docs/current/static/rangetypes.html)
|
||||||
* [functions and operators](https://www.postgresql.org/docs/current/static/functions-range.html)
|
* [functions and operators](https://www.postgresql.org/docs/current/static/functions-range.html)
|
||||||
|
|
||||||
This type is mapped to Ruby [`Range`](https://ruby-doc.org/core-2.2.2/Range.html) objects.
|
This type is mapped to Ruby [`Range`](https://ruby-doc.org/core-2.5.0/Range.html) objects.
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
# db/migrate/20130923065404_create_events.rb
|
# db/migrate/20130923065404_create_events.rb
|
||||||
|
@ -367,7 +367,7 @@ user.save!
|
||||||
* [type definition](https://www.postgresql.org/docs/current/static/datatype-net-types.html)
|
* [type definition](https://www.postgresql.org/docs/current/static/datatype-net-types.html)
|
||||||
|
|
||||||
The types `inet` and `cidr` are mapped to Ruby
|
The types `inet` and `cidr` are mapped to Ruby
|
||||||
[`IPAddr`](https://ruby-doc.org/stdlib-2.2.2/libdoc/ipaddr/rdoc/IPAddr.html)
|
[`IPAddr`](https://ruby-doc.org/stdlib-2.5.0/libdoc/ipaddr/rdoc/IPAddr.html)
|
||||||
objects. The `macaddr` type is mapped to normal text.
|
objects. The `macaddr` type is mapped to normal text.
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
|
Loading…
Reference in a new issue