aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/CHANGELOG
Commit message (Collapse)AuthorAgeFilesLines
* Add ActiveResource::Base.find(:last). [#754 state:resolved]Adrian Mugnolo2008-08-221-0/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed problems with the logger used if the logging string included %'s [#840 ↵David Heinemeier Hansson2008-08-151-0/+2
| | | | state:resolved] (Jamis Buck)
* Fixed Base#exists? to check status code as integer [#299 state:resolved] ↵David Heinemeier Hansson2008-06-021-0/+5
| | | | (Wes Oldenbeuving)
* Making ready for release of 2.1David Heinemeier Hansson2008-05-311-1/+1
|
* Making ready for RC1 releaseDavid Heinemeier Hansson2008-05-111-1/+1
|
* Fixed response logging to use length instead of the entire thing (seangeo) ↵David Heinemeier Hansson2008-04-291-0/+2
| | | | [#27 state:resolved]
* Fix more typos and changelogPratik Naik2008-04-051-2/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-04-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that to_param should be used and honored instead of hardcoding the id ↵David Heinemeier Hansson2008-03-281-0/+2
| | | | | | (closes #11406) [gspiers] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-03-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use HEAD instead of GET inside exists? Closes #11062 [bscofield]Michael Koziarski2008-02-091-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix small documentation typo. Closes #10670 [l.guidi]Rick Olson2008-01-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* find_or_create_resource_for handles module nesting. Closes #10646.Jeremy Kemper2008-01-021-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow setting ActiveResource::Base#format before #site. [rick]Rick Olson2007-12-281-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support agnostic formats when calling custom methods. Closes #10635 ↵Rick Olson2007-12-281-0/+2
| | | | | | [joerichsen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document custom methods. Closes #10589.Jeremy Kemper2007-12-211-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compatibilityJeremy Kemper2007-12-211-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepare for 2.0.2 releaseDavid Heinemeier Hansson2007-12-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more specific exceptions for 400, 401, and 403 (all descending from ↵David Heinemeier Hansson2007-12-141-0/+2
| | | | | | 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
* 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