Sha256: 583af767101cf70dbc122b1859c4ee1bfdfe057b12ee6be9fa8a14ee914b59bb

Contents?: true

Size: 165 Bytes

Versions: 14

Compression:

Stored size: 165 Bytes

Contents

ActiveSupport.on_load(:action_controller) do
  wrap_parameters format: [:json]
end

ActiveSupport.on_load(:active_record) do
  self.include_root_in_json = false
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
simple_pages-0.2.1 spec/dummy/config/initializers/wrap_parameters.rb
simple_pages-0.2.0 spec/dummy/config/initializers/wrap_parameters.rb
simple_pages-0.1.1 spec/dummy/config/initializers/wrap_parameters.rb
simple_pages-0.1.0 spec/dummy/config/initializers/wrap_parameters.rb
calendarize-0.1 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.8 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.7 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.6 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.5 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.4 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.3 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.2 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.1 test/dummy/config/initializers/wrap_parameters.rb
activegrid-1.0.0 test/dummy/config/initializers/wrap_parameters.rb