diff options
author | claudiob <claudiob@gmail.com> | 2015-09-10 14:48:23 -0700 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2015-09-10 14:48:23 -0700 |
commit | 82239a995ddc03f0da76a60d83328a1ee4b6cf65 (patch) | |
tree | 203f93cea96cb3695e3310c8e5c842e73a1a74f0 /actionpack | |
parent | fecf9d729a81c6c08fef92936e659cdfcf340be5 (diff) | |
download | rails-82239a995ddc03f0da76a60d83328a1ee4b6cf65.tar.gz rails-82239a995ddc03f0da76a60d83328a1ee4b6cf65.tar.bz2 rails-82239a995ddc03f0da76a60d83328a1ee4b6cf65.zip |
Remove wrong doc line about AC::Parameters
AC::Parameters does not inherit from HashWithIndifferentAccess
since #20868 by @sikachu
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/strong_parameters.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb index bf5c7003ff..903dba3eb4 100644 --- a/actionpack/lib/action_controller/metal/strong_parameters.rb +++ b/actionpack/lib/action_controller/metal/strong_parameters.rb @@ -97,9 +97,8 @@ module ActionController # environment they should only be set once at boot-time and never mutated at # runtime. # - # <tt>ActionController::Parameters</tt> inherits from - # <tt>ActiveSupport::HashWithIndifferentAccess</tt>, this means - # that you can fetch values using either <tt>:key</tt> or <tt>"key"</tt>. + # You can fetch values of <tt>ActionController::Parameters</tt> using either + # <tt>:key</tt> or <tt>"key"</tt>. # # params = ActionController::Parameters.new(key: 'value') # params[:key] # => "value" |