mirror of https://github.com/rails/rails
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.
This commit is contained in:
parent
d1107f4d1e
commit
93e0f975e9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue