This project is archived and is in readonly mode.
Changeset [aa401bd75a055a0bb12094128b01c8ce5fc2abe8] by Joe Martinez
Revision aa401bd75a055a0bb12094128b01c8ce5fc2abe8,
committed 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...
3 changed files
-
M
actionpack/CHANGELOG -
M
activeresource/lib/active_resource/base.rb -
M
activeresource/test/base_test.rb