From 82239a995ddc03f0da76a60d83328a1ee4b6cf65 Mon Sep 17 00:00:00 2001 From: claudiob Date: Thu, 10 Sep 2015 14:48:23 -0700 Subject: Remove wrong doc line about AC::Parameters AC::Parameters does not inherit from HashWithIndifferentAccess since #20868 by @sikachu --- actionpack/lib/action_controller/metal/strong_parameters.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'actionpack/lib') 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. # - # ActionController::Parameters inherits from - # ActiveSupport::HashWithIndifferentAccess, this means - # that you can fetch values using either :key or "key". + # You can fetch values of ActionController::Parameters using either + # :key or "key". # # params = ActionController::Parameters.new(key: 'value') # params[:key] # => "value" -- cgit v1.2.3