Skip to content

Commit

Permalink
Update upgrading guide w.r.t. Parameters to use other example method …
Browse files Browse the repository at this point in the history
…than slice as this has actually been implemented by Parameters
  • Loading branch information
edwardmp committed Jun 6, 2017
1 parent ac8b79d commit f59559d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/upgrading_ruby_on_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit f59559d

Please sign in to comment.