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
shakapacker-7.2.1 spec/dummy/config/initializers/wrap_parameters.rb
shakapacker-7.2.0 spec/dummy/config/initializers/wrap_parameters.rb
administrate-field-active_storage-1.0.1 test_app/config/initializers/wrap_parameters.rb
spreewald-4.6.0 tests/rails-7_capybara-3/config/initializers/wrap_parameters.rb
pay-lago-0.1.1 test/dummy/config/initializers/wrap_parameters.rb
tessa-6.0.3 spec/dummy/config/initializers/wrap_parameters.rb
gorynich-1.2.3.198656 spec/dummy/config/initializers/wrap_parameters.rb
gorynich-1.2.2.198643 spec/dummy/config/initializers/wrap_parameters.rb
geared_pagination-1.2.0 test/dummy/config/initializers/wrap_parameters.rb
spreewald-4.5.1 tests/rails-7_capybara-3/config/initializers/wrap_parameters.rb
nulogy_message_bus_producer-5.0.7 spec/dummy/config/initializers/wrap_parameters.rb
paranoia_uniqueness_validator-3.5.0 spec/dummy/config/initializers/wrap_parameters.rb
scimaenaga-1.0.1 spec/dummy/config/initializers/wrap_parameters.rb
administrate-field-active_storage-1.0.0 test_app/config/initializers/wrap_parameters.rb
nulogy_message_bus_consumer-2.0.1 spec/dummy/config/initializers/wrap_parameters.rb
browse-everything-1.3.0 spec/dummy_test_app/config/initializers/wrap_parameters.rb
shakapacker-7.2.0.rc.0 spec/dummy/config/initializers/wrap_parameters.rb
rails_ops-1.5.0 test/dummy/config/initializers/wrap_parameters.rb
cache_keeper-0.6.1 test/dummy/config/initializers/wrap_parameters.rb
cache_keeper-0.6.0 test/dummy/config/initializers/wrap_parameters.rb