Sha256: 2c0d5ef18bdfb4f8efe3b2dfb2c2a805968cdb9dab456bbc54d8eb3345fab02e

Contents?: true

Size: 502 Bytes

Versions: 5

Compression:

Stored size: 502 Bytes

Contents

# typed: ignore

# 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

5 entries across 5 versions & 1 rubygems

Version Path
kuby-core-0.20.2 spec/dummy/config/initializers/wrap_parameters.rb
kuby-core-0.20.1 spec/dummy/config/initializers/wrap_parameters.rb
kuby-core-0.20.0 spec/dummy/config/initializers/wrap_parameters.rb
kuby-core-0.19.0 spec/dummy/config/initializers/wrap_parameters.rb
kuby-core-0.18.0 spec/dummy/config/initializers/wrap_parameters.rb