Sha256: 32e17bc014106dcf88d561a116125ceb5da61683eb4233f977a9040e714f2d66

Contents?: true

Size: 199 Bytes

Versions: 3

Compression:

Stored size: 199 Bytes

Contents

if Object.const_defined?('ActionController::Parameters')
  ActionController::Parameters::NEVER_UNPERMITTED_PARAMS << 'id'
  ActionController::Parameters.action_on_unpermitted_parameters = :raise
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rspectacular-0.54.0 lib/rspectacular/plugins/rails/strong_parameters.rb
rspectacular-0.53.1 lib/rspectacular/plugins/rails/strong_parameters.rb
rspectacular-0.53.0 lib/rspectacular/plugins/rails/strong_parameters.rb