Sha256: 7656073e92480a8158202e6c4944c67414ac79231e6b62ee2632a8b144923f34

Contents?: true

Size: 492 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 3 rubygems

Version Path
nested_form_im-0.2.0.1 spec/dummy/config/initializers/wrap_parameters.rb
bootstrap_forms-2.0.1 spec/dummy/config/initializers/wrap_parameters.rb
bootstrap_forms-2.0.0 spec/dummy/config/initializers/wrap_parameters.rb
nested_form-0.2.0 spec/dummy/config/initializers/wrap_parameters.rb