aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Correct empty response handling. Closes #10445.Jeremy Kemper2007-12-101-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make ready for 2.0.1David Heinemeier Hansson2007-12-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8330 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Preparing for release shortlyDavid Heinemeier Hansson2007-12-061-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prep for RC2David Heinemeier Hansson2007-11-291-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't cache net/http object so that ActiveResource is more thread-safe. ↵Rick Olson2007-11-191-0/+2
| | | | | | Closes #10142 [kou] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update XML documentation examples to include explicit type attributes. ↵Marcel Molina2007-11-061-0/+2
| | | | | | Closes #9754 [hasmanyjosh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated CHANGELOGs. They need to be filtered for duplicatesDavid Heinemeier Hansson2007-09-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveResource.format= which defaults to :xml but can also be set to ↵David Heinemeier Hansson2007-09-201-0/+25
| | | | | | :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
* Fix reload error when path prefix is used. Closes #8727.Jeremy Kemper2007-06-221-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ActiveResource::Struct because it hasn't proven very useful. Creating ↵Jeremy Kemper2007-06-091-0/+2
| | | | | | 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
* Fixed query methods on resources. [Cody Fauser]Tobias Lütke2007-06-081-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* pass the prefix_options to the instantiated record when using find without a ↵Rick Olson2007-06-011-0/+2
| | | | | | specific id. Closes #8544 [alloy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Recognize and raise an exception on 405 Method Not Allowed responses. Closes ↵Jeremy Kemper2007-05-261-0/+2
| | | | | | #7692. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle string and symbol param keys when splitting params into prefix params ↵Rick Olson2007-05-091-0/+4
| | | | | | and query params. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible with ↵David Heinemeier Hansson2007-05-011-1/+9
| | | | | | :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
* change #custom_headers to just #headers [Rick]Rick Olson2007-04-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for setting custom headers per ActiveResource model [Rick]Rick Olson2007-04-291-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added find-by-path options to ActiveResource::Base.find [DHH]David Heinemeier Hansson2007-04-271-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for using classes from within a single nested module [DHH]David Heinemeier Hansson2007-04-261-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added load_attributes_from_response as a way of loading attributes from ↵David Heinemeier Hansson2007-04-261-0/+11
| | | | | | other responses than just create [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for calling custom methods #6979 [rwdaigle]David Heinemeier Hansson2007-04-261-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* why oh why do i always forget to save the changelogRick Olson2007-04-241-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove explicit prefix_options parameter for ↵Rick Olson2007-04-241-0/+7
| | | | | | 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
* Disregard namespaces from the default element name, so Highrise::Person will ↵David Heinemeier Hansson2007-04-191-0/+6
| | | | | | 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
* Allow array and hash query parameters. Closes #7756.Jeremy Kemper2007-03-111-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Loading a resource preserves its prefix_options. Closes #7353. Silence ↵Jeremy Kemper2007-01-241-0/+2
| | | | | | prefix redefinition warnings; fix type in logged error. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Carry over the convenience of #create from ActiveRecord. Closes #7340. ↵Rick Olson2007-01-241-0/+2
| | | | | | [Ryan Daigle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6025 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase ActiveResource::Base test coverage. Closes #7173, #7174 [Rich Collins]Rick Olson2007-01-231-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Interpret 422 Unprocessable Entity as ResourceInvalid. Closes #7097.Jeremy Kemper2007-01-171-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mega documentation patches. #7025, #7069 [rwdaigle]Rick Olson2007-01-161-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Base.exists?(id, options) and Base#exists? check whether the resource is ↵Jeremy Kemper2007-01-121-0/+2
| | | | | | found. Closes #6970. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Query string support. Closes #6855.Jeremy Kemper2006-12-291-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Base#==, eql?, and hash methods. == returns true if its argument is ↵Jeremy Kemper2006-12-221-0/+2
| | | | | | identical to self or if it's an instance of the same class, is not new?, and has the same id. eql? is an alias for ==. hash delegates to id. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Subclasses share superclass site until explicitly set. This way you can set ↵Jeremy Kemper2006-12-211-4/+4
| | | | | | Superclass.site = ... after subclasses have been defined. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow subclassed resources to share the site info [Rick]Rick Olson2006-12-131-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix issues with ActiveResource collection handling. Closes #6291. [bmilekic]Rick Olson2006-12-121-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use attr_accessor_with_default to dry up attribute initialization. ↵Marcel Molina2006-11-161-0/+2
| | | | | | References #6538. [Stuart Halloway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add basic logging support for logging outgoing requests.Jamis Buck2006-10-231-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Base.delete for deleting resources without having to instantiate them firstJamis Buck2006-10-061-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make #save behavior mimic AR::Base#save (true on success, false on failure)Jamis Buck2006-10-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Basic HTTP Authentication to ActiveResource (closes #6305). [jonathan]Rick Olson2006-09-291-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixed failing tests now that non-GET requests are sent with .xml file ext. ↵Rick Olson2006-09-201-0/+3
| | | | | | 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
* Optimistic locking: raise ActiveResource::ResourceConflict on 409 Conflict ↵Jeremy Kemper2006-09-091-0/+9
| | | | | | response. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Basic validation support [Rick Olson]Rick Olson2006-09-081-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deep hashes are converted into collections of resources. Class attribute ↵Jeremy Kemper2006-09-041-0/+9
| | | | | | writer methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Major updates to ActiveResource, please see changelog and unit tests [Rick ↵Rick Olson2006-09-011-0/+27
| | | | | | Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 200...400 are valid response codes. PUT and POST request bodies default to ''.Jeremy Kemper2006-08-311-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4887 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* site= accepts URIsJeremy Kemper2006-08-311-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* start an Active Resource changelogJeremy Kemper2006-08-261-0/+3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de