Sha256: 63ef1989bf41ea4372218a72b195f71ba05afdb3501573a2011191148910b9fd

Contents?: true

Size: 495 Bytes

Versions: 34

Compression:

Stored size: 495 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.
ActionController::Base.wrap_parameters :format => [:json] if ActionController::Base.respond_to?(:wrap_parameters)

# Disable root element in JSON by default.
if defined?(ActiveRecord)
  ActiveRecord::Base.include_root_in_json = false
end

Version data entries

34 entries across 34 versions & 7 rubygems

Version Path
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/nested_form-0.3.2/spec/dummy/config/initializers/wrap_parameters.rb
turkee_rails4-2.0.4 spec/dummy/config/initializers/wrap_parameters.rb
turkee_rails4-2.0.3 spec/dummy/config/initializers/wrap_parameters.rb
bootstrap_forms-4.0.1 spec/dummy/config/initializers/wrap_parameters.rb
credit_card_type_field-2.0 spec/dummy/config/initializers/wrap_parameters.rb
credit_card_type_field-1.5 spec/dummy/config/initializers/wrap_parameters.rb
credit_card_type_field-1.4 spec/dummy/config/initializers/wrap_parameters.rb
credit_card_type_field-1.3 spec/dummy/config/initializers/wrap_parameters.rb
bootstrap_forms-4.0.0 spec/dummy/config/initializers/wrap_parameters.rb
picturefill-0.1.3 spec/dummy/config/initializers/wrap_parameters.rb
picturefill-0.1.2 spec/dummy/config/initializers/wrap_parameters.rb
picturefill-0.1.1 spec/dummy/config/initializers/wrap_parameters.rb
picturefill-0.1.0 spec/dummy/config/initializers/wrap_parameters.rb
turkee-2.0.2 spec/dummy/config/initializers/wrap_parameters.rb
turkee-2.0.1 spec/dummy/config/initializers/wrap_parameters.rb
bootstrap_forms-3.0.1 spec/dummy/config/initializers/wrap_parameters.rb
bootstrap_forms-3.0.0 spec/dummy/config/initializers/wrap_parameters.rb
turkee-2.0.0 spec/dummy/config/initializers/wrap_parameters.rb
nested_form-0.3.2 spec/dummy/config/initializers/wrap_parameters.rb
bootstrap_forms-3.0.0.rc1 spec/dummy/config/initializers/wrap_parameters.rb