Sha256: 7021fb9d3b221ade976a6c4574c004d906f4f61df64d914c574588cdaf04457c

Contents?: true

Size: 485 Bytes

Versions: 4497

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,497 entries across 4,004 versions & 503 rubygems

Version Path
bouquet-0.2.1 core/spec/dummy/config/initializers/wrap_parameters.rb
bouquet-0.2.1 store/spec/dummy/config/initializers/wrap_parameters.rb
bouquet-0.2.1 gate/spec/dummy/config/initializers/wrap_parameters.rb
bouquet-0.2.0 gate/spec/dummy/config/initializers/wrap_parameters.rb
bouquet-0.2.0 core/spec/dummy/config/initializers/wrap_parameters.rb
bouquet-0.2.0 store/spec/dummy/config/initializers/wrap_parameters.rb
jobshop-0.0.2 spec/dummy/config/initializers/wrap_parameters.rb
jobshop-0.0.1 spec/dummy/config/initializers/wrap_parameters.rb
jobshop-0.0.0 spec/dummy/config/initializers/wrap_parameters.rb
trix_add_on-0.1.4 test/dummy/config/initializers/wrap_parameters.rb
trix_add_on-0.1.3 test/dummy/config/initializers/wrap_parameters.rb
trix_add_on-0.1.2 test/dummy/config/initializers/wrap_parameters.rb
trix_add_on-0.1.1 test/dummy/config/initializers/wrap_parameters.rb
trix_on_rails-0.1.4 test/dummy/config/initializers/wrap_parameters.rb
trix_on_rails-0.1.3 test/dummy/config/initializers/wrap_parameters.rb
trix_on_rails-0.1.1 test/dummy/config/initializers/wrap_parameters.rb
trix_on_rails-0.1.0 test/dummy/config/initializers/wrap_parameters.rb