diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-03-24 20:58:42 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2016-03-24 20:58:42 +0530 |
commit | 91eeefc7953672de5923389308266a1744f3b176 (patch) | |
tree | 1006b5ac6eaa3ec00f51c61ea55fba5f25a689cb /actionpack/lib | |
parent | 60257141462137331387d0e34931555cf0720886 (diff) | |
download | rails-91eeefc7953672de5923389308266a1744f3b176.tar.gz rails-91eeefc7953672de5923389308266a1744f3b176.tar.bz2 rails-91eeefc7953672de5923389308266a1744f3b176.zip |
[ci skip] Fix example of ActionController::Parameters#to_unsafe_h
- Added missing `"`.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index bb7ec97e9e..9d20cf21ab 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -190,7 +190,7 @@ module ActionController # oddity: 'Heavy stone crab' # }) # params.to_unsafe_h - # # => {"name"=>"Senjougahara Hitagi", oddity" => "Heavy stone crab"} + # # => {"name"=>"Senjougahara Hitagi", "oddity" => "Heavy stone crab"} def to_unsafe_h convert_parameters_to_hashes(@parameters, :to_unsafe_h) end |