aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource/custom_methods.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix deprecation warnings in activeresourcelest2011-11-301-25/+23
|
* Fix missing single quote that was messing up syntax highlighting.Robert Ross2011-11-211-1/+1
|
* corrected some further tests and docs for the ARes change to json changeJosh Kalderimis2011-05-181-10/+10
|
* updated all the tests in ARes to work with jsonJosh Kalderimis2011-05-181-1/+3
|
* Allow per Resource format settingsJacques Crocker2010-09-251-2/+2
| | | | | | | | | | Previously, ActiveResource was using the connection level formatter for get requests. This made it impossible to use custom formatters per resource. Additionally this commit makes the Connection request methods more consistent. It always returns a Response. The base will then decode it each the response using its format setting. Merging this commit will allow users to add custom formatters on a per Resource basis. This enables handling pagination responses from the server side, a very common use case that was previously impossible without monkeypatching XmlFormat. Signed-off-by: José Valim <jose.valim@gmail.com>
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-281-0/+2
|
* Make use of AS::Concern in ActiveResourceJoshua Peek2009-06-081-36/+33
|
* Setup ActiveResource autoloadsJoshua Peek2009-06-081-4/+0
|
* Cherry pick Active Support dependencies. Autoload.Jeremy Kemper2009-05-061-0/+4
|
* Fixed that ActiveResource#post would post an empty string when it shouldn't ↵David Heinemeier Hansson2008-10-301-1/+1
| | | | be posting anything (Paolo Angelini) [#525 state:committed]
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-311-2/+2
| | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
* Format related patches to support serializing data out in the correct format ↵Rasik Pandey2008-08-291-9/+10
| | | | | | | with correct http request headers per http method type [#450 state:resolved] Signed-off-by: Tarmo Tänav <tarmo@itech.ee> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge with docrails.Pratik Naik2008-07-161-2/+2
|
* Merge docrails.Pratik Naik2008-05-251-7/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Reference to :element option in documentation should be :member. Closes ↵Marcel Molina2008-01-231-1/+1
| | | | | | #10905 [fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support agnostic formats when calling custom methods. Closes #10635 ↵Rick Olson2007-12-281-3/+3
| | | | | | [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-41/+55
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-021-13/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Big documentation upgrade for ARes (closes #8694) [jeremymcanally]David Heinemeier Hansson2007-06-231-17/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that post and put requests pass in Content-Length to the server. Tobias Lütke2007-06-191-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* change #custom_headers to just #headers [Rick]Rick Olson2007-04-291-9/+9
| | | | 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-9/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for calling custom methods #6979 [rwdaigle]David Heinemeier Hansson2007-04-261-0/+104
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de