aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorPatrik Bóna <patrik.bona@mrhead.sk>2019-04-15 10:01:14 +0200
committerPatrik Bóna <patrik.bona@mrhead.sk>2019-04-15 10:14:51 +0200
commit93e0f975e9dbf2bc766b5e58fcf792b577bacd1f (patch)
treeaa235fc714c8ff297c7e3369bd902670e2e47bb8 /actionpack
parentd1107f4d1e2573948d4941ac44511a0af6241f80 (diff)
downloadrails-93e0f975e9dbf2bc766b5e58fcf792b577bacd1f.tar.gz
rails-93e0f975e9dbf2bc766b5e58fcf792b577bacd1f.tar.bz2
rails-93e0f975e9dbf2bc766b5e58fcf792b577bacd1f.zip
Remove unused modules from StrongParameters
Unless I'm missing some undocumented use case, these modules aren't needed in `StrongParameters` anymore since 8e221127ab. Also, all actionpack tests are passing without them.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/metal/strong_parameters.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/metal/strong_parameters.rb b/actionpack/lib/action_controller/metal/strong_parameters.rb
index 815f82a1f2..ae774b01f1 100644
--- a/actionpack/lib/action_controller/metal/strong_parameters.rb
+++ b/actionpack/lib/action_controller/metal/strong_parameters.rb
@@ -4,7 +4,6 @@ require "active_support/core_ext/hash/indifferent_access"
require "active_support/core_ext/array/wrap"
require "active_support/core_ext/string/filters"
require "active_support/core_ext/object/to_query"
-require "active_support/rescuable"
require "action_dispatch/http/upload"
require "rack/test"
require "stringio"
@@ -1092,9 +1091,6 @@ module ActionController
# See ActionController::Parameters.require and ActionController::Parameters.permit
# for more information.
module StrongParameters
- extend ActiveSupport::Concern
- include ActiveSupport::Rescuable
-
# Returns a new ActionController::Parameters object that
# has been instantiated with the <tt>request.parameters</tt>.
def params