aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-04-26 19:38:16 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-04-26 19:38:16 +0000
commit234b0b7ca021cff6e36376c38b7c70321b8550f1 (patch)
tree19286d784104a3071e532978b1238345f8cf37c0 /activeresource/CHANGELOG
parent37e8e35c92222537ff82aa3c47cadebad4c32ce0 (diff)
downloadrails-234b0b7ca021cff6e36376c38b7c70321b8550f1.tar.gz
rails-234b0b7ca021cff6e36376c38b7c70321b8550f1.tar.bz2
rails-234b0b7ca021cff6e36376c38b7c70321b8550f1.zip
Added support for using classes from within a single nested module [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/CHANGELOG')
-rw-r--r--activeresource/CHANGELOG15
1 files changed, 15 insertions, 0 deletions
diff --git a/activeresource/CHANGELOG b/activeresource/CHANGELOG
index 07c48505d1..e740af59be 100644
--- a/activeresource/CHANGELOG
+++ b/activeresource/CHANGELOG
@@ -1,5 +1,20 @@
*SVN*
+* Added support for using classes from within a single nested module [DHH]. Example:
+
+ module Highrise
+ class Note < ActiveResource::Base
+ self.site = "http://37s.sunrise.i:3000"
+ end
+
+ class Comment < ActiveResource::Base
+ self.site = "http://37s.sunrise.i:3000"
+ end
+ end
+
+ assert_kind_of Highrise::Comment, Note.find(1).comments.first
+
+
* Added load_attributes_from_response as a way of loading attributes from other responses than just create [DHH]
class Highrise::Task < ActiveResource::Base