aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
diff options
context:
space:
mode:
authoredwardmp <e.poot@evolutionhost.nl>2017-06-06 23:54:45 +0200
committeredwardmp <e.poot@evolutionhost.nl>2017-06-06 23:54:45 +0200
commitf59559d70af237f8a52e4ebde34b39d834f2787e (patch)
tree43545f10336d36b3592cd4d85cc443f0cc8f96fc /guides/source/upgrading_ruby_on_rails.md
parentac8b79d553592b3c9515940b5fe5e9d3c7ec9a45 (diff)
downloadrails-f59559d70af237f8a52e4ebde34b39d834f2787e.tar.gz
rails-f59559d70af237f8a52e4ebde34b39d834f2787e.tar.bz2
rails-f59559d70af237f8a52e4ebde34b39d834f2787e.zip
Update upgrading guide w.r.t. Parameters to use other example method than slice as this has actually been implemented by Parameters
Diffstat (limited to 'guides/source/upgrading_ruby_on_rails.md')
-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.