diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-12-13 02:15:27 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-12-13 02:15:27 +0000 |
commit | 011f4e7413f1bde83aa62a5fc46afd6957ff9b3e (patch) | |
tree | 3d7a2bc5998994c6ba2ee1759914dac15254beef /activeresource/CHANGELOG | |
parent | 2f184c338b6379baecde8c882f72c4fa806a3a0b (diff) | |
download | rails-011f4e7413f1bde83aa62a5fc46afd6957ff9b3e.tar.gz rails-011f4e7413f1bde83aa62a5fc46afd6957ff9b3e.tar.bz2 rails-011f4e7413f1bde83aa62a5fc46afd6957ff9b3e.zip |
Allow subclassed resources to share the site info [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/CHANGELOG')
-rw-r--r-- | activeresource/CHANGELOG | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/activeresource/CHANGELOG b/activeresource/CHANGELOG index 144264cd5a..679fb832d4 100644 --- a/activeresource/CHANGELOG +++ b/activeresource/CHANGELOG @@ -1,5 +1,20 @@ *SVN* +* Allow subclassed resources to share the site info [Rick] + + class BeastResource < ActiveResource::Base + self.site = 'http://beast.caboo.se' + end + + class Forum < BeastResource + # taken from BeastResource + # self.site = 'http://beast.caboo.se' + end + + class Topic < BeastResource + site << '/forums/:forum_id' + end + * Fix issues with ActiveResource collection handling. Closes #6291. [bmilekic] * Use attr_accessor_with_default to dry up attribute initialization. References #6538. [Stuart Halloway] |