Jeremy Kemper
|
ab45bd487a
|
URI.decode site username/password. Closes #11169 [Ernesto Jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-19 23:06:09 +00:00 |
|
Michael Koziarski
|
8bbabd43a9
|
Add user and password configuration options to ActiveResource::Base, not all credentials can be specified inline. Closes #11112 [ernesto.jimenez]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8891 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-18 00:21:18 +00:00 |
|
Michael Koziarski
|
5396b0f3b0
|
Use HEAD instead of GET inside exists? Closes #11062 [bscofield]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-02-09 22:21:55 +00:00 |
|
Marcel Molina
|
349df75605
|
Reference to :element option in documentation should be :member. Closes #10905 [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-23 17:04:49 +00:00 |
|
Rick Olson
|
4261b837f5
|
Fix small documentation typo. Closes #10670 [l.guidi]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 19:27:21 +00:00 |
|
Jeremy Kemper
|
9a97f9a14b
|
find_or_create_resource_for handles module nesting. Closes #10646.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-01-02 09:14:34 +00:00 |
|
Rick Olson
|
e8730713d2
|
Allow setting ActiveResource::Base#format before #site. [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 17:12:35 +00:00 |
|
Rick Olson
|
c54b915825
|
Support agnostic formats when calling custom methods. Closes #10635 [joerichsen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 17:03:58 +00:00 |
|
Jeremy Kemper
|
470fc02096
|
Document custom methods. Closes #10589.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 21:42:27 +00:00 |
|
Jeremy Kemper
|
a1ec3aa6c0
|
Ruby 1.9 compatibility
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:22:03 +00:00 |
|
David Heinemeier Hansson
|
69edebf0f1
|
Prepare for 2.0.2 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:30:30 +00:00 |
|
David Heinemeier Hansson
|
1ceccdeb7f
|
Added more specific exceptions for 400, 401, and 403 (all descending from ClientError so existing rescues will work) (closes #10326) [trek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 23:09:46 +00:00 |
|
Jeremy Kemper
|
c81fff2468
|
Correct empty response handling. Closes #10445.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-10 05:53:56 +00:00 |
|
David Heinemeier Hansson
|
1acd54a5b4
|
Make ready for 2.0.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-07 13:37:13 +00:00 |
|
David Heinemeier Hansson
|
729741a3fa
|
Preparing for release shortly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-06 18:12:48 +00:00 |
|
David Heinemeier Hansson
|
54a75de3ec
|
Prep for RC2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-29 00:27:53 +00:00 |
|
Rick Olson
|
24e6cbc724
|
Don't cache net/http object so that ActiveResource is more thread-safe. Closes #10142 [kou]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-19 00:06:23 +00:00 |
|
David Heinemeier Hansson
|
5c8beba9dc
|
Prepare versions for RC1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-09 20:02:29 +00:00 |
|
Marcel Molina
|
7863c4a18a
|
Update XML documentation examples to include explicit type attributes. Closes #9754 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-06 18:33:45 +00:00 |
|
Michael Koziarski
|
f29ae12535
|
Add Base#to_param to Active Resource that quacks like ActiveRecord. Closes #9557 [bradediger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 02:13:51 +00:00 |
|
Jeremy Kemper
|
0ee1cb2cd3
|
Ruby 1.9 compat, consistent load paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-02 05:32:14 +00:00 |
|
David Heinemeier Hansson
|
18a24274ec
|
Allow frameworks to be required by their gem name (closes #8845) [drnic]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 18:15:05 +00:00 |
|
David Heinemeier Hansson
|
dc399b96c8
|
Added ActiveResource.format= which defaults to :xml but can also be set to :json [DHH]. Added one-off declarations of mock behavior [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-20 23:18:05 +00:00 |
|
Tobias Lütke
|
18a4cc1bd2
|
Raise ActiveResource::Redirection on 301,302 http code
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-08-09 19:22:04 +00:00 |
|
Tobias Lütke
|
80d539bd4d
|
Fixes that using a subclass of an ARes object would cache a connection object based of its parent's site variable. Changing the parent's site would have no effect on the descentent objects.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-27 16:00:07 +00:00 |
|
David Heinemeier Hansson
|
ae4838fff2
|
Big documentation upgrade for ARes (closes #8694) [jeremymcanally]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-23 17:29:54 +00:00 |
|
Jeremy Kemper
|
e682fee121
|
Fix reload error when path prefix is used. Closes #8727.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-22 18:15:40 +00:00 |
|
Rick Olson
|
9e4461438f
|
Added proper handling of arrays. Closes #8537 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-21 15:07:15 +00:00 |
|
Tobias Lütke
|
bf280157d9
|
Ensure that post and put requests pass in Content-Length to the server.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-19 18:40:28 +00:00 |
|
Jeremy Kemper
|
fde3d9d8e4
|
Remove ActiveResource::Struct because it hasn't proven very useful. Creating a new ActiveResource::Base subclass is often less code and always clearer. Closes #8612.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-09 04:42:32 +00:00 |
|
Tobias Lütke
|
bfda4cdc5a
|
Fixed query methods on resources. [Cody Fauser]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-08 19:32:15 +00:00 |
|
Rick Olson
|
4d1c87a069
|
pass the prefix_options to the instantiated record when using find without a specific id. Closes #8544 [alloy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-01 17:14:14 +00:00 |
|
Jeremy Kemper
|
849038ee51
|
Recognize and raise an exception on 405 Method Not Allowed responses. Closes #7692.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 20:57:08 +00:00 |
|
Rick Olson
|
08736788c9
|
Handle string and symbol param keys when splitting params into prefix params and query params.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-09 03:51:06 +00:00 |
|
Tobias Lütke
|
0306e4a204
|
Make respond_to? work as expected
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-04 20:07:37 +00:00 |
|
David Heinemeier Hansson
|
b8e74466cc
|
Try the class itself if the ancestor doesnt have anything
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-02 23:46:31 +00:00 |
|
David Heinemeier Hansson
|
04fd94d8f8
|
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
|
2007-05-01 04:48:48 +00:00 |
|
Rick Olson
|
8e8fd99d7f
|
change #custom_headers to just #headers [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 04:46:14 +00:00 |
|
Rick Olson
|
bd50d82f70
|
Add support for setting custom headers per ActiveResource model [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-29 03:14:36 +00:00 |
|
David Heinemeier Hansson
|
1d5c34c2c2
|
Added find-by-path options to ActiveResource::Base.find [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-27 20:54:53 +00:00 |
|
David Heinemeier Hansson
|
234b0b7ca0
|
Added support for using classes from within a single nested module [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-26 19:38:16 +00:00 |
|
David Heinemeier Hansson
|
37e8e35c92
|
Added load_attributes_from_response as a way of loading attributes from other responses than just create [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-26 02:11:16 +00:00 |
|
David Heinemeier Hansson
|
46b58d80b9
|
The find should instantiate real objects, not return hashes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-26 02:03:40 +00:00 |
|
David Heinemeier Hansson
|
9b8399fb7f
|
Added support for calling custom methods #6979 [rwdaigle]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-26 01:53:01 +00:00 |
|
Rick Olson
|
b3c4e301f4
|
dont bother merging in prefix_options
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 16:06:41 +00:00 |
|
Rick Olson
|
208d12d15d
|
Remove explicit prefix_options parameter for ActiveResource::Base#initialize. Allow ActiveResource::Base.delete with custom prefix. Add ActiveResource::Base#dup [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 16:05:20 +00:00 |
|
David Heinemeier Hansson
|
1d53c05889
|
Dont insert search parameters into the object
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-23 20:58:40 +00:00 |
|
David Heinemeier Hansson
|
df41c7cb61
|
Include Active Resource instead of Action Web Service [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-23 18:55:54 +00:00 |
|
David Heinemeier Hansson
|
c97f329b2a
|
Disregard namespaces from the default element name, so Highrise::Person will just try to fetch from "/people", not "/highrise/people" [DHH] Added that saves which get a body response (and not just a 201) will use that response to update themselves [DHH] Fixed constant warning when fetching the same object multiple times [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-19 22:18:03 +00:00 |
|
Jeremy Kemper
|
d97456dd82
|
Allow array and hash query parameters. Closes #7756.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-11 13:27:57 +00:00 |
|