Sha256: cce2aa2549b85578df1f7858de452108a73213e05825bfc9223d60f8cffbc5ac

Contents?: true

Size: 340 Bytes

Versions: 125

Compression:

Stored size: 340 Bytes

Contents

# Be sure to restart your server when you modify this file.
#
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.

# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActiveSupport.on_load(:action_controller) do
  wrap_parameters format: [:json]
end

Version data entries

125 entries across 125 versions & 8 rubygems

Version Path
style-guide-0.3.0 spec/dummy/config/initializers/wrap_parameters.rb
style-guide-0.2.1 spec/dummy/config/initializers/wrap_parameters.rb
style-guide-0.2.0 spec/dummy/config/initializers/wrap_parameters.rb
style-guide-0.1.0 spec/dummy/config/initializers/wrap_parameters.rb
style-guide-0.0.1 spec/dummy/config/initializers/wrap_parameters.rb