Sha256: c6b12305f91f5a24f2671136df813e349fdbbe312628aed8e4889427938f4b2e
Contents?: true
Size: 486 Bytes
Versions: 8
Compression:
Stored size: 486 Bytes
Contents
# Be sure to restart your server when you modify this file. # # This file contains the settings for ActionController::ParametersWrapper # which will be enabled by default in the upcoming version of Ruby on Rails. # Enable parameter wrapping for JSON. You can disable this by set :format to empty array. ActionController::Base.wrap_parameters :format => [:json] # Disable root element in JSON by default. if defined?(ActiveRecord) ActiveRecord::Base.include_root_in_json = false end
Version data entries
8 entries across 8 versions & 2 rubygems