aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-05-01 04:48:48 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-05-01 04:48:48 +0000
commit04fd94d8f8e0718687c8f4edcc9470178b5cb6ee (patch)
tree6677615bf57140e24f808aaeec980dae7a8a3a20 /activeresource/CHANGELOG
parentda257eb81ba1eab76ef2c1a256916193858418d4 (diff)
downloadrails-04fd94d8f8e0718687c8f4edcc9470178b5cb6ee.tar.gz
rails-04fd94d8f8e0718687c8f4edcc9470178b5cb6ee.tar.bz2
rails-04fd94d8f8e0718687c8f4edcc9470178b5cb6ee.zip
BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible with :params and more strict usage of scopes [DHH] Added find-one with symbol [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/CHANGELOG')
-rw-r--r--activeresource/CHANGELOG10
1 files changed, 9 insertions, 1 deletions
diff --git a/activeresource/CHANGELOG b/activeresource/CHANGELOG
index 3589b89994..bb23e0d2ac 100644
--- a/activeresource/CHANGELOG
+++ b/activeresource/CHANGELOG
@@ -1,6 +1,14 @@
*SVN*
-* Add support for setting custom headers per ActiveResource model [Rick]
+* Added find-one with symbol [DHH]. Example: Person.find(:one, :from => :leader) # => GET /people/leader.xml
+
+* BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible with :params and more strict usage of scopes [DHH]. Changes:
+
+ Person.find(:all, :title => "CEO") ...becomes: Person.find(:all, :params => { :title => "CEO" })
+ Person.find(:managers) ...becomes: Person.find(:all, :from => :managers)
+ Person.find("/companies/1/manager.xml") ...becomes: Person.find(:one, :from => "/companies/1/manager.xml")
+
+* Add support for setting custom headers per Active Resource model [Rick]
class Project
headers['X-Token'] = 'foo'