Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding to_key to ActiveResource objects using ActiveModel::Conversion [#4685 ↵ | Elomar França | 2010-05-26 | 1 | -0/+7 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Replace assert with assert_equal in some test cases | Neeraj Singh | 2010-05-21 | 1 | -3/+3 |
| | | | | | | [#4654 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Final iteration of use better testing methods | Neeraj Singh | 2010-05-19 | 2 | -11/+11 |
| | | | | | | [#4652 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | assert should be replaced with assert_equal in a particular test case | Neeraj Singh | 2010-05-18 | 1 | -1/+1 |
| | | | | | | [#4636 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | ActiveResource shouldn't consider modules in the path | Santiago Pastorino | 2010-05-15 | 2 | -0/+10 |
| | | | | | | [#4529 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make ActiveResource serialize XML correctly when element_name is set. | Santiago Pastorino | 2010-05-12 | 1 | -0/+36 |
| | | | | | | [#4529] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make use of to_xml and to_json in tests | Santiago Pastorino | 2010-05-12 | 1 | -2/+7 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Reuse Active Model serialization in Active Resource. [#2584 state:committed] | Santiago Pastorino | 2010-04-26 | 1 | -6/+22 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Revert "create option to include_root_in_json for ActiveResource [#2584 ↵ | Jeremy Kemper | 2010-04-25 | 1 | -23/+6 |
| | | | | | | | | | | state:committed]" This reverts commits 72f89b5d971b48a133c4c0af56fbeda35d738dae, 137d8e0b2fe9fcc4fdac6cbbd44ca010784e5972. Should reuse Active Model. [#2584 state:incomplete] | ||||
* | Make this test pass on > 1.9 | Santiago Pastorino | 2010-04-19 | 1 | -1/+5 |
| | |||||
* | create option to include_root_in_json for ActiveResource [#2584 state:committed] | Santiago Pastorino | 2010-04-05 | 1 | -6/+19 |
| | |||||
* | added require abstract_unit on setter_trap.rb | Sebastian Martinez | 2010-03-18 | 1 | -0/+2 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Fix active_resource tests | Carl Lerche | 2010-03-02 | 1 | -2/+3 |
| | |||||
* | correct activeresource load path | Joshua Peek | 2010-02-28 | 1 | -1/+3 |
| | |||||
* | no more warning ambiguous first argument; put parentheses or even spaces on ↵ | Santiago Pastorino | 2010-02-26 | 1 | -2/+2 |
| | | | | log_subscriber_test | ||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 2 | -8/+3 |
| | | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path. | ||||
* | Merge master. | José Valim | 2010-02-17 | 2 | -3/+9 |
|\ | |||||
| * | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 2 | -3/+9 |
| | | |||||
* | | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -5/+5 |
|/ | |||||
* | Fix isolated test fail due to missing mocha | Jeremy Kemper | 2010-02-10 | 1 | -0/+1 |
| | |||||
* | Fix failing spec | Yehuda Katz | 2010-02-08 | 2 | -1/+7 |
| | |||||
* | method_missing errors on activeresource tests, mocha is not required there | Santiago Pastorino | 2010-02-05 | 1 | -0/+1 |
| | | | | | | [#3825 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -7/+1 |
| | |||||
* | Use format of ARes rather than content-type of remote errors to load errors. | Jatinder Singh | 2010-01-27 | 1 | -0/+13 |
| | | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -11/+2 |
| | |||||
* | save(false) is gone, use save(:validate => false) instead. | José Valim | 2010-01-17 | 1 | -0/+13 |
| | |||||
* | Add notifications to ActiveResource. | José Valim | 2010-01-14 | 1 | -0/+39 |
| | |||||
* | Autoload AMo test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | Fix new schema test dependency on Hash#to_xml | Jeremy Kemper | 2009-12-23 | 1 | -0/+1 |
| | |||||
* | Use instance_eval for schema block | Joshua Peek | 2009-12-20 | 1 | -46/+56 |
| | |||||
* | Rename define_schema => schema | Joshua Peek | 2009-12-20 | 1 | -18/+18 |
| | |||||
* | Rename SchemaDefinition => Schema | Joshua Peek | 2009-12-20 | 1 | -24/+24 |
| | |||||
* | define_schema for Active Resource | Taryn East | 2009-12-20 | 1 | -0/+409 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fully expand relative rails framework paths and make sure we aren't | Joshua Peek | 2009-12-16 | 1 | -5/+3 |
| | | | | adding any to the load path more than once. | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 2 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Avoid adding component lib/ to load path multiple times | Joshua Peek | 2009-11-09 | 1 | -1/+3 |
| | |||||
* | Symbol#to_proc is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -1/+0 |
| | |||||
* | Have all the tests running off a single Gemfile | Yehuda Katz + Carl Lerche | 2009-10-20 | 1 | -2/+8 |
| | |||||
* | Fix tests | Jeremy Kemper | 2009-10-14 | 1 | -0/+1 |
| | |||||
* | Digest auth option for ActiveResource. | pivotal | 2009-10-15 | 3 | -24/+167 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | 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 | 1 | -1/+1 |
| | | | | | | 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 | 2 | -20/+13 |
| | |||||
* | add indifferent access to the attributes | Taryn East | 2009-10-02 | 2 | -0/+28 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | update_attribute(s) added to Active Resource | Taryn East | 2009-10-02 | 1 | -2/+51 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix brittle content-type check. [#1956 state:committed] | Jeremy Kemper | 2009-09-17 | 1 | -2/+2 |
| | |||||
* | Fix failing ARes isolated tests | Joshua Peek | 2009-09-05 | 2 | -1/+4 |
| | |||||
* | Added first/last/all aliases for equivalent find scopes | taryn | 2009-08-21 | 1 | -0/+38 |
| | | | | | | | 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 | 2 | -2/+14 |
| | | | | | | | | | | | | | | | 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> |