Sha256: aa91d26e4d4d1ad64221ce1c32773ef14762b90fe57c14b44d17536cfb0a50c8

Contents?: true

Size: 292 Bytes

Versions: 13

Compression:

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

13 entries across 13 versions & 1 rubygems

Version Path
aaf-gumboot-2.6.3 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.6.2 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.6.1 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.6.0 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.5.1 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.5.0 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.4.0 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.2.0 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.1.4 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.1.3 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.1.1 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.1.0 spec/dummy/config/initializers/wrap_parameters.rb
aaf-gumboot-2.0.1 spec/dummy/config/initializers/wrap_parameters.rb