lib/action_controller/railtie.rb in actionpack-8.0.0.beta1 vs lib/action_controller/railtie.rb in actionpack-8.0.0.rc1
- old
+ new
@@ -46,15 +46,10 @@
if action_on_unpermitted_parameters.nil?
action_on_unpermitted_parameters = Rails.env.local? ? :log : false
end
ActionController::Parameters.action_on_unpermitted_parameters = action_on_unpermitted_parameters
-
- unless options.allow_deprecated_parameters_hash_equality.nil?
- ActionController::Parameters.allow_deprecated_parameters_hash_equality =
- options.allow_deprecated_parameters_hash_equality
- end
end
end
initializer "action_controller.set_configs" do |app|
paths = app.config.paths
@@ -83,10 +78,9 @@
:log_query_tags_around_actions,
:permit_all_parameters,
:action_on_unpermitted_parameters,
:always_permitted_parameters,
:wrap_parameters_by_default,
- :allow_deprecated_parameters_hash_equality
)
filtered_options.each do |k, v|
k = "#{k}="
if respond_to?(k)