aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-05-20 14:25:21 +0200
committerYves Senn <yves.senn@gmail.com>2015-05-20 14:25:21 +0200
commit21474f143a84e2799637c4feb2d5ee54a0b3aff8 (patch)
treeb4849a63df3bc62244e355e88a2aba6a76931d69
parent5d5447b0cbe22c9894088eaa723e97c8d0881944 (diff)
parent3e238b6b0f1aec34af9740c1f783b079005f2172 (diff)
downloadrails-21474f143a84e2799637c4feb2d5ee54a0b3aff8.tar.gz
rails-21474f143a84e2799637c4feb2d5ee54a0b3aff8.tar.bz2
rails-21474f143a84e2799637c4feb2d5ee54a0b3aff8.zip
Merge pull request #20222 from Gaurav2728/gaurav-update_ruby_links
[ci skip] updated ruby doc links; for rails next version of ruby will be 2.2x
-rw-r--r--guides/source/active_record_postgresql.md4
-rw-r--r--guides/source/testing.md2
-rw-r--r--guides/source/upgrading_ruby_on_rails.md2
3 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/active_record_postgresql.md b/guides/source/active_record_postgresql.md
index b95f249dcb..dcc523eb0f 100644
--- a/guides/source/active_record_postgresql.md
+++ b/guides/source/active_record_postgresql.md
@@ -141,7 +141,7 @@ Event.where("payload->>'kind' = ?", "user_renamed")
* [type definition](http://www.postgresql.org/docs/current/static/rangetypes.html)
* [functions and operators](http://www.postgresql.org/docs/current/static/functions-range.html)
-This type is mapped to Ruby [`Range`](http://www.ruby-doc.org/core-2.1.1/Range.html) objects.
+This type is mapped to Ruby [`Range`](http://www.ruby-doc.org/core-2.2.2/Range.html) objects.
```ruby
# db/migrate/20130923065404_create_events.rb
@@ -317,7 +317,7 @@ user.save!
* [type definition](http://www.postgresql.org/docs/current/static/datatype-net-types.html)
The types `inet` and `cidr` are mapped to Ruby
-[`IPAddr`](http://www.ruby-doc.org/stdlib-2.1.1/libdoc/ipaddr/rdoc/IPAddr.html)
+[`IPAddr`](http://www.ruby-doc.org/stdlib-2.2.2/libdoc/ipaddr/rdoc/IPAddr.html)
objects. The `macaddr` type is mapped to normal text.
```ruby
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 556c043391..0db0edf039 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -484,7 +484,7 @@ All the basic assertions such as `assert_equal` defined in `Minitest::Assertions
Each of these classes include `Minitest::Assertions`, allowing us to use all of the basic assertions in our tests.
-NOTE: For more information on `Minitest`, refer to [Minitest](http://ruby-doc.org/stdlib-2.1.0/libdoc/minitest/rdoc/MiniTest.html)
+NOTE: For more information on `Minitest`, refer to [Minitest](http://ruby-doc.org/stdlib-2.2.2/libdoc/minitest/rdoc/MiniTest.html)
Functional Tests for Your Controllers
-------------------------------------
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index 5109e15cd2..3680055f0c 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -460,7 +460,7 @@ If your application currently depend on MultiJSON directly, you have a few optio
WARNING: Do not simply replace `MultiJson.dump` and `MultiJson.load` with
`JSON.dump` and `JSON.load`. These JSON gem APIs are meant for serializing and
-deserializing arbitrary Ruby objects and are generally [unsafe](http://www.ruby-doc.org/stdlib-2.0.0/libdoc/json/rdoc/JSON.html#method-i-load).
+deserializing arbitrary Ruby objects and are generally [unsafe](http://www.ruby-doc.org/stdlib-2.2.2/libdoc/json/rdoc/JSON.html#method-i-load).
#### JSON gem compatibility