Sha256: 4e14c2cc15b782103a3eabcc588c1d81564a7d88b36ff7f702942187aec330f7
Contents?: true
Size: 507 Bytes
Versions: 6
Compression:
Stored size: 507 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
6 entries across 6 versions & 1 rubygems