Sha256: 99a5756c2838de4bac15cf595bc6fda90615d15eb682a734836e65df2fa5007a

Contents?: true

Size: 272 Bytes

Versions: 11

Compression:

Stored size: 272 Bytes

Contents

if defined?(ActionController::Parameters) &&
    ActionController::Parameters.respond_to?(
    :action_on_unpermitted_parameters=)
  # Rails 4.

  # Raise exceptions so we can test against them.
  ActionController::Parameters.action_on_unpermitted_parameters = :raise
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
authpwn_rails-0.16.2 test/helpers/action_controller.rb
authpwn_rails-0.16.1 test/helpers/action_controller.rb
authpwn_rails-0.16.0 test/helpers/action_controller.rb
authpwn_rails-0.15.3 test/helpers/action_controller.rb
authpwn_rails-0.15.2 test/helpers/action_controller.rb
authpwn_rails-0.15.1 test/helpers/action_controller.rb
authpwn_rails-0.15.0 test/helpers/action_controller.rb
authpwn_rails-0.14.3 test/helpers/action_controller.rb
authpwn_rails-0.14.2 test/helpers/action_controller.rb
authpwn_rails-0.14.1 test/helpers/action_controller.rb
authpwn_rails-0.14.0 test/helpers/action_controller.rb