aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-06-06 18:27:32 -0400
committerGitHub <noreply@github.com>2017-06-06 18:27:32 -0400
commit0d55b5bb5dfdcf65d1e9a10b567579e3d339c2c9 (patch)
tree43545f10336d36b3592cd4d85cc443f0cc8f96fc /guides
parentac8b79d553592b3c9515940b5fe5e9d3c7ec9a45 (diff)
parentf59559d70af237f8a52e4ebde34b39d834f2787e (diff)
downloadrails-0d55b5bb5dfdcf65d1e9a10b567579e3d339c2c9.tar.gz
rails-0d55b5bb5dfdcf65d1e9a10b567579e3d339c2c9.tar.bz2
rails-0d55b5bb5dfdcf65d1e9a10b567579e3d339c2c9.zip
Merge pull request #29377 from edwardmp/fix-upgrading-docs
Update upgrading guide w.r.t. Parameters to use other example method …
Diffstat (limited to 'guides')
-rw-r--r--guides/source/upgrading_ruby_on_rails.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/upgrading_ruby_on_rails.md b/guides/source/upgrading_ruby_on_rails.md
index 93864db141..88a7d0a464 100644
--- a/guides/source/upgrading_ruby_on_rails.md
+++ b/guides/source/upgrading_ruby_on_rails.md
@@ -238,7 +238,7 @@ Run `bin/rails` to see the list of commands available.
### `ActionController::Parameters` No Longer Inherits from `HashWithIndifferentAccess`
Calling `params` in your application will now return an object instead of a hash. If your
-parameters are already permitted, then you will not need to make any changes. If you are using `slice`
+parameters are already permitted, then you will not need to make any changes. If you are using `map`
and other methods that depend on being able to read the hash regardless of `permitted?` you will
need to upgrade your application to first permit and then convert to a hash.