Commit Graph

10 Commits

Author SHA1 Message Date
David Heinemeier Hansson
6b70c799f8 All verbs should use formatted urls [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-13 04:14:18 +00:00
Jeremy Kemper
0a84624bd7 Optimistic locking: raise ActiveResource::ResourceConflict on 409 Conflict response.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-09 00:11:12 +00:00
Rick Olson
8d9e6609f8 Basic validation support [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-08 00:07:30 +00:00
Jeremy Kemper
26b76ea4ce load expects a Hash
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-05 00:02:17 +00:00
Jeremy Kemper
97487c4e11 load nil is noop. use new? instead of new_resource?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-04 23:36:13 +00:00
Jeremy Kemper
c918fbf14b 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
2006-09-04 10:04:23 +00:00
Rick Olson
7749c9c220 Major updates to ActiveResource, please see changelog and unit tests [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-01 01:15:10 +00:00
Jeremy Kemper
f9b3694870 200...400 are valid response codes. PUT and POST request bodies default to ''.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 09:31:11 +00:00
Jeremy Kemper
c1af2db14b site= accepts URIs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 07:55:31 +00:00
David Heinemeier Hansson
99d268c853 Initial check-in of Active Resourse
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-25 14:44:22 +00:00