Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'mainstream/master' | Pratik Naik | 2009-10-10 | 6 | -28/+131 |
|\ | |||||
| * | Fix for Ruby 1.9 - define_method throws an exception under 1.9 if given ↵ | Chad Woolley | 2009-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | | incorrect number of args Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
| * | Ruby 1.9: Fix ActiveResource::ConnectionError#to_s when @response does not ↵ | Chad Woolley | 2009-10-08 | 2 | -2/+5 |
| | | | | | | | | | | | | respond to #code or #message Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
| * | Cleanup whitespace introduced in 8377646 and f4f6888 | Joshua Peek | 2009-10-02 | 3 | -55/+47 |
| | | |||||
| * | add indifferent access to the attributes | Taryn East | 2009-10-02 | 3 | -1/+30 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | update_attribute(s) added to Active Resource | Taryn East | 2009-10-02 | 2 | -2/+81 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2009-09-30 | 2 | -69/+20 |
|\| | |||||
| * | Make gemspecs the authoritative source instead of generating them from the ↵ | Joshua Peek | 2009-09-25 | 2 | -69/+20 |
| | | | | | | | | Rakefile | ||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2009-09-21 | 8 | -8/+66 |
|\| | |||||
| * | Fix brittle content-type check. [#1956 state:committed] | Jeremy Kemper | 2009-09-17 | 2 | -4/+4 |
| | | |||||
| * | Revert "Allow frameworks to be required by their gem name" | Jeremy Kemper | 2009-09-12 | 1 | -1/+0 |
| | | | | | | | | | | | | | | This has just been confusing. Better to educate than band-aid. This reverts commit 18a24274ec823ded4ffa29bf33fd3d76816aab7e. Originally from http://dev.rubyonrails.org/ticket/8845 [drnic] | ||||
| * | Fix failing ARes isolated tests | Joshua Peek | 2009-09-05 | 3 | -2/+6 |
| | | |||||
| * | Kill AMo observing wrap_with_notifications since ARes was only using it | Joshua Peek | 2009-09-02 | 1 | -1/+12 |
| | | |||||
| * | Add required dependencies on activemodel | Carl Lerche | 2009-09-01 | 2 | -2/+6 |
| | | |||||
| * | Add rake gemspec and gemspecs to the repo | Yehuda Katz | 2009-08-31 | 2 | -0/+40 |
| | | |||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2009-08-31 | 18 | -151/+757 |
|\| | |||||
| * | Added first/last/all aliases for equivalent find scopes | taryn | 2009-08-21 | 2 | -0/+60 |
| | | | | | | | | | | | | | | Just a copy from Active Record (with tests). Each is a warpper function for the equivalent scoped call to find eg first is a wrapper for find(:first) Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Added save! which raises ResourceInvalid unless valid? | taryn | 2009-08-19 | 3 | -2/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to Active Record - it will raise ActiveResouce::ResourceInvalid if the resource is not valid (ie if <tt>valid?</tt> returns false) However - does not raise ActiveResource::ResourceNotFound if the callbacks fail (callbacks have not yet been implemented) - it will just try to save and raise if the callbacks all fail. This is not ideal behaviour - but will do until we decide to change the behaviour of save_with_validations to actually raise (rather than catch) the ResourceInvalid exception. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Swallow ResourceNotFound error on find_every | taryn | 2009-08-19 | 2 | -10/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Active Record does not explode with RecordNotFound if you go looking for a collection of objects - it just returns nil. Thus Active Resource should also not explode. After all - finding no objects that match a set of conditions is not exceptional behaviour - unlike looking for a specific object with a given id (which you'd expect to exist). I've also added documentation to +find+ to reflect this. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Pulled find-based tests into their own test case. This matches Active ↵ | taryn | 2009-08-19 | 2 | -76/+182 |
| | | | | | | | | | | | | Record, and allows us to have one places where all find-tests are located, which will help when adding dynamic finders later. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Moved all test cases into a new test/cases directory to match Active Record ↵ | taryn | 2009-08-19 | 9 | -0/+0 |
| | | | | | | | | | | | | test directory structure. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Added validations to ActiveResource. Added a smoke test to see if we can add ↵ | taryn | 2009-08-19 | 3 | -15/+123 |
| | | | | | | | | | | | | a validation and use it, and add a validates callback and use it. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | Fix ActiveResource load test for 64bit machines [#3051 state:resolved] | Jatinder Singh | 2009-08-15 | 1 | -3/+3 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Add support for errors in JSON format. | Fabien Jakimowicz | 2009-08-09 | 4 | -26/+83 |
| | | | | | | | | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | Ensure ActiveResource#load works with numeric arrays [Grzegorz Forysinski, ↵ | Grzegorz Forysinski | 2009-08-09 | 2 | -2/+23 |
| | | | | | | | | | | | | | | | | Elad Meidar] [#2305 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Active Resource recognizes 410 as Resource Gone now [#2316 state:resolved] ↵ | Jordan Brough | 2009-08-09 | 6 | -1/+36 |
| | | | | | | | | | | | | [Jordan Brough, Jatinder Singh] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Make ActiveResource#exists? work [#3020 state:resolved] | Jatinder Singh | 2009-08-09 | 2 | -2/+11 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Add ability to set SSL options on ARes connections. | Roy Nicholson | 2009-08-09 | 6 | -3/+152 |
| | | | | | | | | | | | | [#2370 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | | Added docs for ActiveResource HTTP proxy support | Marshall Huss | 2009-08-22 | 1 | -0/+7 |
|/ | |||||
* | Setting connection timeout also affects Net::HTTP open_timeout. | Jeremy Kemper | 2009-08-09 | 2 | -7/+30 |
| | | | | [#2947 state:resolved] | ||||
* | HTTP proxy support | Marshall Huss | 2009-08-08 | 6 | -3/+118 |
| | | | | | | [#2133 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ruby 1.9 compat: fix for SSL in Active Resource | Brendan Schwartz | 2009-08-07 | 1 | -1/+1 |
| | | | | | | [#1272 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add wrap_with_notifications helper to AMo observing | Joshua Peek | 2009-07-20 | 3 | -10/+14 |
| | |||||
* | Add observing hooks to ARes | Joshua Peek | 2009-07-11 | 2 | -2/+62 |
| | |||||
* | 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] | ||||
* | Bump up the version to 3.0.pre | Carl Lerche | 2009-06-30 | 2 | -4/+4 |
| | |||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+1 |
| | |||||
* | Prefer JSON.encode(value) to value.to_json | Jeremy Kemper | 2009-06-08 | 1 | -2/+2 |
| | |||||
* | Make use of AS::Concern in ActiveResource | Joshua Peek | 2009-06-08 | 2 | -40/+37 |
| | |||||
* | Setup ActiveResource autoloads | Joshua Peek | 2009-06-08 | 8 | -31/+14 |
| | |||||
* | JSON: split encoding and coercion | Jeremy Kemper | 2009-06-08 | 1 | -8/+3 |
| | |||||
* | Tolerate missing logger | Jeremy Kemper | 2009-05-30 | 1 | -1/+1 |
| | |||||
* | Use URI and Inflector | Jeremy Kemper | 2009-05-30 | 1 | -2/+4 |
| | |||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 16 | -91/+144 |
|\ | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Simple examples for require profiling | Jeremy Kemper | 2009-05-13 | 1 | -0/+16 |
| | | |||||
| * | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 5 | -1/+13 |
| | | |||||
| * | Defer rake/contrib/sshpublisher require so basic tasks don't need the full ↵ | Jeremy Kemper | 2009-05-07 | 1 | -1/+2 |
| | | | | | | | | rake gem | ||||
| * | Fix tests on 1.8.6 | Jeremy Kemper | 2009-05-06 | 2 | -0/+2 |
| | | |||||
| * | Cherry pick Active Support dependencies. Autoload. | Jeremy Kemper | 2009-05-06 | 11 | -81/+100 |
| | | |||||
| * | Remove superfluous CGI require | Jeremy Kemper | 2009-05-05 | 1 | -1/+0 |
| | |