diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 10:04:23 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-09-04 10:04:23 +0000 |
commit | c918fbf14b96319412cb6195e7a8a3229613340c (patch) | |
tree | aa3f86f93ce445cb5dd75d312bf5ae75457062e5 /activeresource/CHANGELOG | |
parent | c003a4acea24aad279b8cd6eec49e20bc45859f3 (diff) | |
download | rails-c918fbf14b96319412cb6195e7a8a3229613340c.tar.gz rails-c918fbf14b96319412cb6195e7a8a3229613340c.tar.bz2 rails-c918fbf14b96319412cb6195e7a8a3229613340c.zip |
Deep hashes are converted into collections of resources. Class attribute writer methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/CHANGELOG')
-rw-r--r-- | activeresource/CHANGELOG | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/activeresource/CHANGELOG b/activeresource/CHANGELOG index 70f2a5eaee..2133824488 100644 --- a/activeresource/CHANGELOG +++ b/activeresource/CHANGELOG @@ -1,5 +1,14 @@ *SVN* +* Deep hashes are converted into collections of resources. [Jeremy Kemper] + Person.new :name => 'Bob', + :address => { :id => 1, :city => 'Portland' }, + :contacts => [{ :id => 1 }, { :id => 2 }] + Looks for Address and Contact resources and creates them if unavailable. + So clients can fetch a complex resource in a single request if you e.g. + render :xml => @person.to_xml(:include => [:address, :contacts]) + in your controller action. + * Major updates [Rick Olson] * Add full support for find/create/update/destroy |