Sha256: 7021fb9d3b221ade976a6c4574c004d906f4f61df64d914c574588cdaf04457c

Contents?: true

Size: 485 Bytes

Versions: 4491

Compression:

Stored size: 485 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

# To enable root element in JSON for ActiveRecord objects.
# ActiveSupport.on_load(:active_record) do
#   self.include_root_in_json = true
# end

Version data entries

4,491 entries across 3,998 versions & 503 rubygems

Version Path
amazon-chime-sdk-rails-2.0.1 spec/rails_app/config/initializers/wrap_parameters.rb
nulogy_sso-2.6.0 spec/dummy/config/initializers/wrap_parameters.rb
koalagator-2.0.0 spec/test_app/config/initializers/wrap_parameters.rb
rails_stats-2.0.1 test/dummy/config/initializers/wrap_parameters.rb
rails_stats-2.0.0 test/dummy/config/initializers/wrap_parameters.rb
browse-everything-1.5.0 spec/dummy_test_app/config/initializers/wrap_parameters.rb
needle_in_a_haystack-1.0.6 config/initializers/wrap_parameters.rb
nulogy_message_bus_consumer-3.0.0 spec/dummy/config/initializers/wrap_parameters.rb
needle_in_a_haystack-1.0.5 config/initializers/wrap_parameters.rb
needle_in_a_haystack-1.0.4 config/initializers/wrap_parameters.rb
needle_in_a_haystack-1.0.3 config/initializers/wrap_parameters.rb
needle_in_a_haystack-1.0.2 config/initializers/wrap_parameters.rb
needle_in_a_haystack-1.0.1 config/initializers/wrap_parameters.rb
needle_in_a_haystack-1.0.0 config/initializers/wrap_parameters.rb
send_grid_mailer-2.4.0 spec/dummy/config/initializers/wrap_parameters.rb
spreewald-4.6.3 tests/rails-7_capybara-3/config/initializers/wrap_parameters.rb
localtower-2.0.1 spec/dummy/config/initializers/wrap_parameters.rb
localtower-2.0.0 spec/dummy/config/initializers/wrap_parameters.rb
paranoia_uniqueness_validator-3.7.0 spec/dummy/config/initializers/wrap_parameters.rb
raygun4ruby-4.0.2 spec/rails_applications/6.1.4/config/initializers/wrap_parameters.rb