This project is archived and is in readonly mode.

Changeset [aa401bd75a055a0bb12094128b01c8ce5fc2abe8] by Joe Martinez

April 26th, 2010 @ 11:19 PM

Add ActiveResource::Base.include_root_in_json, like Active Record, to serialize instances as hash of model name -> attributes hash rather than the bare attributes hash. [#2584 state:committed]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/aa401bd75a055a0bb12094128b01c8...

Committed by Joe Martinez

  • M actionpack/CHANGELOG
  • M activeresource/lib/active_resource/base.rb
  • M activeresource/test/base_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>