Sha256: 7021fb9d3b221ade976a6c4574c004d906f4f61df64d914c574588cdaf04457c
Contents?: true
Size: 485 Bytes
Versions: 4476
Compression:
Stored size: 485 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 # To enable root element in JSON for ActiveRecord objects. # ActiveSupport.on_load(:active_record) do # self.include_root_in_json = true # end
Version data entries
4,476 entries across 3,983 versions & 500 rubygems