Sha256: 7d878e543e3b9becaa0a950d1aaacbdcda70d86a4b0724e410b4863eee729208
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
# frozen_string_literal: true ActiveSupport.on_load(:action_controller) do wrap_parameters format: [:json] if respond_to?(:wrap_parameters) 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aaf-gumboot-1.2.0 | spec/dummy/config/initializers/wrap_parameters.rb |
aaf-gumboot-1.1.0 | spec/dummy/config/initializers/wrap_parameters.rb |