Sha256: 7021fb9d3b221ade976a6c4574c004d906f4f61df64d914c574588cdaf04457c

Contents?: true

Size: 485 Bytes

Versions: 4476

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,476 entries across 3,983 versions & 500 rubygems

Version Path
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
samvera-persona-0.5.0 spec/dummy/config/initializers/wrap_parameters.rb
gorynich-1.3.4.273062 spec/dummy/config/initializers/wrap_parameters.rb
scimaenaga-1.0.5 spec/dummy/config/initializers/wrap_parameters.rb
better_enum-1.1.0 spec/dummy/config/initializers/wrap_parameters.rb
boring_generators-0.15.0 tmp/templates/app_template/config/initializers/wrap_parameters.rb
sitepress-rails-4.0.5 spec/dummy/config/initializers/wrap_parameters.rb
sitepress-rails-4.0.4 spec/dummy/config/initializers/wrap_parameters.rb
tessa-6.1.3 spec/dummy/config/initializers/wrap_parameters.rb
rails_ops-1.5.8 test/dummy/config/initializers/wrap_parameters.rb
sitepress-rails-4.0.3 spec/dummy/config/initializers/wrap_parameters.rb
paranoia_uniqueness_validator-3.6.0 spec/dummy/config/initializers/wrap_parameters.rb
rails_ops-1.5.7 test/dummy/config/initializers/wrap_parameters.rb
rails_ops-1.5.6 test/dummy/config/initializers/wrap_parameters.rb
browse-everything-1.4.0 spec/dummy_test_app/config/initializers/wrap_parameters.rb
govuk_notify_rails-3.0.0 spec/dummy/config/initializers/wrap_parameters.rb