Support include_root_in_json for ActiveResource properly.

This commit is a backport from
https://github.com/rails/activeresource/pull/29. The
ActiveResource's include_root_in_json option is broken for 3.2.x.
This commit is contained in:
Xinjiang Lu
2013-05-12 12:10:02 -04:00
parent 5919a552e4
commit ec55866e39
3 changed files with 19 additions and 3 deletions

View File

@@ -1,7 +1,9 @@
## unreleased ##
* No changes.
* Fixes an issue that ActiveResource models ignores ActiveResource::Base.include_root_in_json.
Backported from the now separate repo rails/activeresouce.
*Xinjiang Lu*
## Rails 3.2.13 (Mar 18, 2013) ##