Marcel Molina
|
1d31a043e0
|
Use attr_accessor_with_default to dry up attribute initialization. References #6538. [Stuart Halloway]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-16 19:36:50 +00:00 |
|
Jamis Buck
|
d54c1b517d
|
to_xml needs to accept an options hash to conform with the expectations of Hash#to_xml
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-24 19:05:43 +00:00 |
|
Jamis Buck
|
9c9443812f
|
Add basic logging support for logging outgoing requests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-23 22:21:09 +00:00 |
|
Jamis Buck
|
6c0609fafb
|
Add Base.delete for deleting resources without having to instantiate them first
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-06 17:25:10 +00:00 |
|
Jamis Buck
|
628838ed93
|
Make #save behavior mimic AR::Base#save (true on success, false on failure)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-02 22:14:15 +00:00 |
|
Rick Olson
|
163a7123e5
|
assume the passed headers to the ActiveResource HttpMock Request/Response are hashes [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-02 14:20:18 +00:00 |
|
Rick Olson
|
7ac6ed893f
|
Add Basic HTTP Authentication to ActiveResource (closes #6305). [jonathan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-29 16:25:49 +00:00 |
|
Jeremy Kemper
|
704443dcf2
|
workaround collections loaded as :people => { :person => [{..attrs..}, {..attrs..}] }
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-22 21:29:54 +00:00 |
|
Rick Olson
|
4d63e01fa0
|
fixed failing tests now that non-GET requests are sent with .xml file ext. Extracted #id_from_response as an entry point for customizing how a created resource gets its own ID.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 19:31:17 +00:00 |
|
David Heinemeier Hansson
|
54c393f5fa
|
Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist until Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 09:34:29 +00:00 |
|
David Heinemeier Hansson
|
5d50dee71f
|
Version updates and missing licenses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 10:13:27 +00:00 |
|
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 |
|
Jeremy Kemper
|
c003a4acea
|
consistent load path to prevent double loads
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 09:50:15 +00:00 |
|
Jeremy Kemper
|
d64c05f21c
|
test subdirs, turn warnings on
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4983 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 09:49:33 +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 |
|
Jeremy Kemper
|
8261f17eb8
|
start an Active Resource changelog
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-26 08:23:36 +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 |
|