aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource
Commit message (Collapse)AuthorAgeFilesLines
...
* Prefer tap to returningJeremy Kemper2009-02-061-6/+6
|
* Improve exception handling when Location header is invalid. [#1192 ↵Bob Aman2009-01-281-1/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* ActiveResource#eqls? and == should not take into account object identity and ↵Rasik Pandey2009-01-281-2/+2
| | | | | | prefix options should be considered. [#1098 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-281-0/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Benchmark.msJeremy Kemper2008-12-091-2/+2
|
* Merge with docrailsPratik Naik2008-12-071-0/+2
|
* Make new_record? an alias of new? in ActiveResource to fix problem with ↵miloops2008-12-021-0/+1
| | | | | | route generation in forms. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Assume that the next version is going to be 2.3 for nowDavid Heinemeier Hansson2008-11-191-2/+2
|
* Prepare for RC2David Heinemeier Hansson2008-11-141-1/+1
|
* 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]
* Should be 2.2.0 as wellDavid Heinemeier Hansson2008-10-231-1/+1
|
* Add ActiveResource::Base#to_xml and ActiveResource::Base#to_json methods. ↵Cody Fauser2008-10-072-1/+37
| | | | | | [#1011 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* ActiveResource can load array of strings, like serialize :bar, ArrayMatthew Moore2008-10-051-1/+2
| | | | | Signed-off-by: rick <technoweenie@gmail.com> [#1055 state:resolved]
* HTTP Accept headerEdgar J. Suarez2008-09-181-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Merge docrailsPratik Naik2008-09-032-66/+58
|
* Some performance goodness for inheritable attributes.Clemens Kofler2008-09-031-2/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* More symbols for send and respond_to?.Clemens Kofler2008-09-031-2/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-312-3/+3
| | | | | | | | | | 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-296-36/+53
| | | | | | | 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>
* Clear prefix_parameters cache when setting prefixTarmo Tänav2008-08-231-0/+3
|
* Add ActiveResource::Base.find(:last). [#754 state:resolved]Adrian Mugnolo2008-08-221-66/+71
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-181-8/+8
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* Fixed problems with the logger used if the logging string included %'s [#840 ↵David Heinemeier Hansson2008-08-151-1/+1
| | | | state:resolved] (Jamis Buck)
* Merge with docrails.Pratik Naik2008-07-163-14/+14
|
* Fixes parsing deep nested resources from XML. [#380 state:resolved]Luis Hurtado2008-06-091-1/+5
|
* Fixed Base#exists? to check status code as integer [#299 state:resolved] ↵David Heinemeier Hansson2008-06-021-1/+1
| | | | (Wes Oldenbeuving)
* Making ready for release of 2.1David Heinemeier Hansson2008-05-311-2/+2
|
* Merge docrails.Pratik Naik2008-05-255-29/+100
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Making ready for RC1 releaseDavid Heinemeier Hansson2008-05-111-1/+1
|
* Merge docrails:Pratik Naik2008-05-091-129/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit e6afd8b2736364322b673bbdcca3e9b38b6d3da0 Author: Xavier Noria <fxn@hashref.com> Date: Thu May 8 23:49:36 2008 +0200 Overall documentation improvement and markup corrections. Zillion changes. commit 2fead68b3192332eee27945ed95a94a64ca73f70 Author: Austin Putman <austin@emmanuel.local> Date: Wed May 7 19:35:46 2008 -0700 Documented class methods on ActionController::Routing. These are dangerous, and mostly used for testing. commit f5b84182dbc39bea79c8ee319c688d00fa99f9d1 Author: Teflon Ted <github@rudiment.net> Date: Wed May 7 16:08:49 2008 -0400 Added explanation about errant inflections not being patched in the future in order to avoid breaking legacy applications. commit 370f4f51722cec49ace17093d29e9ce9e8f15cfb Author: Sunny Ripert <negatif@gmail.com> Date: Wed May 7 14:00:59 2008 +0200 Applied list conventions in AR::Base commit 5bd18429f09d44e75191bec42a6db04bd33f3030 Author: Sunny Ripert <negatif@gmail.com> Date: Wed May 7 13:53:35 2008 +0200 Renamed Options list to Attributes list whenever they weren't option hashes in AR::Base commit d912bd5672316454457ae83f6e9dda5197beeb6f Author: Yaroslav Markin <yaroslav@markin.net> Date: Wed May 7 13:50:28 2008 +0400 Add a filter_parameter_logging usage hint to generated ApplicationController. This may help to remind the developer to filter sensitive information from application logs. Closes #11578 commit b243de0db3c2605121e055079854af5090d06374 Author: Jack Danger Canty <git@6brand.com> Date: Tue May 6 23:39:47 2008 -0700 doc: disambiguating an example ActiveRecord class commit f81d771f0657ae8375b84a77a059812cce5d6fd9 Author: Jack Danger Canty <git@6brand.com> Date: Tue May 6 23:35:05 2008 -0700 doc: ActiveRecord::Reflection::AssociationReflection#through_reflection Added documentation demonstrating the use of #through_reflection for finding intervening reflection objects for HasManyThrough and HasOneThrough. commit ae6b46f00b5b8b2939c6b37ce3329c83de7e71db Author: Cheah Chu Yeow <chuyeow@gmail.com> Date: Wed May 7 13:47:41 2008 +0800 Document AttributeAssignmentError and MultiparameterAssignmentErrors. commit 8f463550b597db2156b67733f31aed13487fbc3a Author: John Barnette <jbarnette@gmail.com> Date: Tue May 6 22:46:44 2008 -0700 Killing/fixing a bunch of outdated language in the AR README. commit aca44bcd92ef783abdf484b58abdde6786db0f89 Author: Cheah Chu Yeow <chuyeow@gmail.com> Date: Wed May 7 13:34:52 2008 +0800 Make a note about ActiveResource::Timeouterror being raised when ARes calls timeout. commit 284a930a93fbee16e25d06392779dbf2f03e9e12 Author: Jonathan Dance <jd@wuputah.com> Date: Tue May 6 14:58:26 2008 -0400 improvements to the page caching docs commit 9482da621390c874da7c921c8bd6230caae7035a Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 18:13:40 2008 +0200 validates_numericality_of() "integer" option really is "only_integer" commit e9afd6790a8f530528f6597a7f59bb283be754f6 Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 12:11:59 2008 +0200 Harmonized hash notation in AR::Base commit 67ebf14a91ffd970b582be4ff2991d691a9cf3e1 Author: Sunny Ripert <negatif@gmail.com> Date: Mon May 5 12:06:19 2008 +0200 Turned options into rdoc-lists in AR::Base commit 0ec7c0a41d889d4e5382b9dff72f1aaba89bf297 Author: Marshall Huss <mwhuss@Macbook.local> Date: Sun May 4 23:21:33 2008 -0400 Added information of how to set element_name in the case the user has a name confliction with an existing model Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improve documentation coverage and markupXavier Noria2008-05-022-7/+8
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed response logging to use length instead of the entire thing (seangeo) ↵David Heinemeier Hansson2008-04-291-1/+1
| | | | [#27 state:resolved]
* Rescue from Timeout::Error in ActiveResource::Connection.Cheah Chu Yeow2008-04-221-0/+10
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Introduce ActiveResource::Base.timeout. This allows a timeout to be set on ↵Cheah Chu Yeow2008-04-222-4/+46
| | | | | | the internal Net::HTTP instance ARes uses (default is 60 seconds). Setting a low timeout allows ARes clients to fail-fast in the event of a unresponsive/crashed server, rather than cause cascading failures in your application. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Don't shadow attrs varJeremy Kemper2008-03-301-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add #clone. Closes #7352 [Ryan Daigle, thechrisoshow]Jeremy Kemper2008-03-281-0/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that to_param should be used and honored instead of hardcoding the id ↵David Heinemeier Hansson2008-03-281-4/+4
| | | | | | (closes #11406) [gspiers] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* URI.decode site username/password. Closes #11169 [Ernesto Jimenez]Jeremy Kemper2008-02-192-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add user and password configuration options to ActiveResource::Base, not ↵Michael Koziarski2008-02-182-9/+87
| | | | | | 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
* Use HEAD instead of GET inside exists? Closes #11062 [bscofield]Michael Koziarski2008-02-093-3/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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
* Fix small documentation typo. Closes #10670 [l.guidi]Rick Olson2008-01-021-1/+1
| | | | 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-8/+17
| | | | 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-1/+1
| | | | 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-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-212-57/+85
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compatibilityJeremy Kemper2007-12-211-7/+6
| | | | 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/+15
| | | | | | 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-103-4/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de