Sha256: d9586e7c4499c8b128c5882255ae40f954e50b8b00254fe074f447ec525ee08f

Contents?: true

Size: 471 Bytes

Versions: 10

Compression:

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

# Disable root element in JSON by default.
# ActiveSupport.on_load(:active_record) do
#   self.include_root_in_json = false
# end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cloudxls-rails-0.6.2 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.6.1 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.6.0 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.5.0 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.4.3 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.4.2 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.4.1 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.4.0 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.3.1 spec/test_app/config/initializers/wrap_parameters.rb
cloudxls-rails-0.3.0 spec/test_app/config/initializers/wrap_parameters.rb