diff options
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 403933f7aa..edee343db0 100644 --- a/activeresource/CHANGELOG +++ b/activeresource/CHANGELOG @@ -1,5 +1,14 @@ *SVN* +* Add support for setting custom headers per ActiveResource model [Rick] + + class Project + custom_headers['X-Token'] = 'foo' + end + + # makes the GET request with the custom X-Token header + Project.find(:all) + * Added find-by-path options to ActiveResource::Base.find [DHH]. Examples: employees = Person.find(:all, :from => "/companies/1/people.xml") # => GET /companies/1/people.xml |