Sha256: 0ba903035e12611430eaba8f86efbceda794f329941252c1086793be55363d8f

Contents?: true

Size: 344 Bytes

Versions: 55

Compression:

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

Version data entries

55 entries across 54 versions & 11 rubygems

Version Path
acts_as_api-0.4.4 spec/mongoid_dummy/config/initializers/wrap_parameters.rb
acts_as_api-0.4.3 spec/mongoid_dummy/config/initializers/wrap_parameters.rb
opal-rails-0.8.1 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.8.0 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.8.0.rc1 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.7.0 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.7.0.beta2 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.7.0.beta1 test_app/config/initializers/wrap_parameters.rb
acts_as_api_sequel-0.0.1 spec/mongoid_dummy/config/initializers/wrap_parameters.rb
opal-rails-0.6.3 test_app/config/initializers/wrap_parameters.rb
timecop-console-0.3.1 spec/dummy_app/config/initializers/wrap_parameters.rb
timecop-console-0.3.0 spec/dummy_app/config/initializers/wrap_parameters.rb
acts_as_api-0.4.2 spec/mongoid_dummy/config/initializers/wrap_parameters.rb
opal-rails-0.6.2 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.6.1 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.6.0 test_app/config/initializers/wrap_parameters.rb
opal-rails-0.5.2 test_app/config/initializers/wrap_parameters.rb
webhookr-0.2.0 test/dummy/config/initializers/wrap_parameters.rb
webhookr-0.1.0 test/dummy/config/initializers/wrap_parameters.rb
opal-rails-0.5.1 test_app/config/initializers/wrap_parameters.rb