Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -3/+1 |
| | | | | state:resolved] | ||||
* | Setup ActiveResource autoloads | Joshua Peek | 2009-06-08 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 4 | -10/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb | ||||
| * | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 3 | -0/+3 |
| | | |||||
| * | Fix tests on 1.8.6 | Jeremy Kemper | 2009-05-06 | 1 | -0/+1 |
| | | |||||
| * | Cherry pick Active Support dependencies. Autoload. | Jeremy Kemper | 2009-05-06 | 2 | -7/+4 |
| | | |||||
* | | Deprecate Errors#on_base/add_to_base/invalid?/each_full | Pratik Naik | 2009-03-21 | 2 | -2/+5 |
| | | |||||
* | | Fix ActiveResource::Errors deprecation messages | Pratik Naik | 2009-03-20 | 1 | -2/+2 |
| | | |||||
* | | Make Active Resource use ActiveModel::Errors | Pratik Naik | 2009-03-19 | 1 | -1/+1 |
|/ | |||||
* | Strip invalid leading whitespace error uncovered by nokogiri | Jeremy Kemper | 2009-03-10 | 1 | -1/+1 |
| | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 2 | -14/+14 |
| | | | | [#1617 state:resolved] | ||||
* | Ensure Active Support is loaded locally rather than from RubyGems. [#1620 ↵ | Jeremy Kemper | 2009-03-08 | 1 | -0/+1 |
| | | | | state:committed] | ||||
* | Prefer tap to returning | Jeremy Kemper | 2009-02-06 | 1 | -3/+2 |
| | |||||
* | Require rubygems | Jeremy Kemper | 2009-02-03 | 1 | -1/+1 |
| | |||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 2 | -22/+16 |
| | |||||
* | Improve exception handling when Location header is invalid. [#1192 ↵ | Bob Aman | 2009-01-28 | 1 | -1/+14 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | ActiveResource#eqls? and == should not take into account object identity and ↵ | Rasik Pandey | 2009-01-28 | 1 | -0/+9 |
| | | | | | | prefix options should be considered. [#1098 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9 compat: don't shadow local var with block arg | Jeremy Kemper | 2008-11-22 | 1 | -1/+1 |
| | |||||
* | Fix indentation mismatches | Jeremy Kemper | 2008-11-22 | 2 | -56/+56 |
| | |||||
* | Silence parens warning | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | Fixed that ActiveResource#post would post an empty string when it shouldn't ↵ | David Heinemeier Hansson | 2008-10-30 | 1 | -0/+2 |
| | | | | be posting anything (Paolo Angelini) [#525 state:committed] | ||||
* | Add ActiveResource::Base#to_xml and ActiveResource::Base#to_json methods. ↵ | Cody Fauser | 2008-10-07 | 1 | -0/+17 |
| | | | | | | [#1011 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | ActiveResource can load array of strings, like serialize :bar, Array | Matthew Moore | 2008-10-05 | 1 | -0/+24 |
| | | | | | Signed-off-by: rick <technoweenie@gmail.com> [#1055 state:resolved] | ||||
* | HTTP Accept header | Edgar J. Suarez | 2008-09-18 | 1 | -2/+10 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 4 | -15/+15 |
| | | | | | | | | | | 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 Pandey | 2008-08-29 | 3 | -14/+25 |
| | | | | | | | 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 prefix | Tarmo Tänav | 2008-08-23 | 1 | -0/+9 |
| | |||||
* | Add ActiveResource::Base.find(:last). [#754 state:resolved] | Adrian Mugnolo | 2008-08-22 | 1 | -46/+52 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Update uses_mocha in ActionMailer and ActiveResource | Joshua Peek | 2008-07-19 | 1 | -9/+13 |
| | |||||
* | Fixes parsing deep nested resources from XML. [#380 state:resolved] | Luis Hurtado | 2008-06-09 | 2 | -0/+51 |
| | |||||
* | Rescue from Timeout::Error in ActiveResource::Connection. | Cheah Chu Yeow | 2008-04-22 | 2 | -1/+22 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Introduce ActiveResource::Base.timeout. This allows a timeout to be set on ↵ | Cheah Chu Yeow | 2008-04-22 | 2 | -0/+71 |
| | | | | | | 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> | ||||
* | Add #clone. Closes #7352 [Ryan Daigle, thechrisoshow] | Jeremy Kemper | 2008-03-28 | 1 | -0/+35 |
| | | | | 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 Hansson | 2008-03-28 | 1 | -28/+106 |
| | | | | | | (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 Kemper | 2008-02-19 | 2 | -0/+16 |
| | | | | 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 Koziarski | 2008-02-18 | 3 | -3/+184 |
| | | | | | | 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 Koziarski | 2008-02-09 | 2 | -0/+12 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 8 | -11/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | find_or_create_resource_for handles module nesting. Closes #10646. | Jeremy Kemper | 2008-01-02 | 1 | -0/+35 |
| | | | | 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 Olson | 2007-12-28 | 1 | -0/+7 |
| | | | | 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 Olson | 2007-12-28 | 1 | -0/+34 |
| | | | | | | [joerichsen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | inherit from the new ActiveSupport::BlankSlate class | Rick Olson | 2007-12-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: move from the deprecated Base64 module to ↵ | Jeremy Kemper | 2007-12-18 | 2 | -5/+3 |
| | | | | | | ActiveSupport::Base64. Closes #10554. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added more specific exceptions for 400, 401, and 403 (all descending from ↵ | David Heinemeier Hansson | 2007-12-14 | 1 | -1/+10 |
| | | | | | | 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 | ||||
* | Add Base#to_param to Active Resource that quacks like ActiveRecord. Closes ↵ | Michael Koziarski | 2007-10-07 | 1 | -0/+7 |
| | | | | | | #9557 [bradediger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | BlankSlate -> BasicObject | Jeremy Kemper | 2007-10-07 | 1 | -3/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat, consistent load paths | Jeremy Kemper | 2007-10-02 | 6 | -18/+21 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix ARes tests under jruby. [tom.enebo@gmail.com] | Michael Koziarski | 2007-09-24 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Increase test coverage (closes #8699, #8700) [josh] | David Heinemeier Hansson | 2007-09-21 | 2 | -11/+32 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added ActiveResource.format= which defaults to :xml but can also be set to ↵ | David Heinemeier Hansson | 2007-09-20 | 1 | -0/+42 |
| | | | | | | :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 |