Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix escaping id and parameters in path [#5137 state:resolved] | Josef Reidinger | 2010-07-26 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Object#returning removed | Santiago Pastorino | 2010-07-25 | 1 | -1/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -0/+1 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-15 | 1 | -2/+2 |
|\ | |||||
| * | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -2/+2 |
| | | |||||
* | | There is no type="array" returned with errors. [#3691:resolved] | Ryan Bigg | 2010-06-12 | 1 | -1/+1 |
|/ | |||||
* | Adding to_key to ActiveResource objects using ActiveModel::Conversion [#4685 ↵ | Elomar França | 2010-05-26 | 1 | -5/+1 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 1 | -6/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | ActiveResource shouldn't consider modules in the path | Santiago Pastorino | 2010-05-15 | 1 | -16/+2 |
| | | | | | | [#4529 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixes to_json and to_xml for ActiveResource | Santiago Pastorino | 2010-05-12 | 1 | -6/+15 |
| | | | | 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 | -4/+15 |
| | | | | | | [#4529] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Reuse Active Model serialization in Active Resource. [#2584 state:committed] | Santiago Pastorino | 2010-04-26 | 1 | -63/+3 |
| | | | | 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 | -9/+0 |
| | | | | | | | | | | state:committed]" This reverts commits 72f89b5d971b48a133c4c0af56fbeda35d738dae, 137d8e0b2fe9fcc4fdac6cbbd44ca010784e5972. Should reuse Active Model. [#2584 state:incomplete] | ||||
* | fix stack trace lines on class_eval | Santiago Pastorino | 2010-04-09 | 1 | -2/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | create option to include_root_in_json for ActiveResource [#2584 state:committed] | Santiago Pastorino | 2010-04-05 | 1 | -0/+9 |
| | |||||
* | adds missing requires for Object#duplicable? | Xavier Noria | 2010-03-28 | 1 | -0/+1 |
| | |||||
* | Makes ActiveResource work with form_for: - Adds a `build' method that can be ↵ | Gaël Deest | 2010-03-27 | 1 | -0/+49 |
| | | | | | used instead of `new' to load a new, unsaved resource from the remote site, filled with the correct default values. - Adds a `persisted?' method that simply returns the opposite value than the `new?' method. [#4222 state:resolved] [#4155 state:resolved] Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-01-04 | 1 | -2/+141 |
|\ | |||||
| * | All ARes modules are safe to defer | Joshua Peek | 2009-12-22 | 1 | -0/+3 |
| | | |||||
| * | Use instance_eval for schema block | Joshua Peek | 2009-12-20 | 1 | -9/+9 |
| | | |||||
| * | Rename define_schema => schema | Joshua Peek | 2009-12-20 | 1 | -23/+20 |
| | | |||||
| * | Rename SchemaDefinition => Schema | Joshua Peek | 2009-12-20 | 1 | -8/+7 |
| | | |||||
| * | define_schema for Active Resource | Taryn East | 2009-12-20 | 1 | -2/+142 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2009-11-17 | 1 | -16/+36 |
|\| | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/hash/conversions.rb | ||||
| * | Ruby 1.9.2: URI.parse and .decode are deprecated | Jeremy Kemper | 2009-11-09 | 1 | -4/+8 |
| | | |||||
| * | Remove reliance on string access core extension | Jeremy Kemper | 2009-11-09 | 1 | -12/+15 |
| | | |||||
| * | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 1 | -0/+1 |
| | | |||||
| * | Digest auth option for ActiveResource. | pivotal | 2009-10-15 | 1 | -0/+12 |
| | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2009-10-10 | 1 | -6/+36 |
|\| | |||||
| * | Cleanup whitespace introduced in 8377646 and f4f6888 | Joshua Peek | 2009-10-02 | 1 | -35/+34 |
| | | |||||
| * | add indifferent access to the attributes | Taryn East | 2009-10-02 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
| * | update_attribute(s) added to Active Resource | Taryn East | 2009-10-02 | 1 | -0/+30 |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | | Merge commit 'mainstream/master' | Pratik Naik | 2009-08-31 | 1 | -13/+123 |
|\| | |||||
| * | Added first/last/all aliases for equivalent find scopes | taryn | 2009-08-21 | 1 | -0/+22 |
| | | | | | | | | | | | | | | 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 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -10/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
| * | Add support for errors in JSON format. | Fabien Jakimowicz | 2009-08-09 | 1 | -1/+5 |
| | | | | | | | | | | | | [#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 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | 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 | 1 | -1/+2 |
| | | | | | | | | | | | | [Jordan Brough, Jatinder Singh] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
| * | Add ability to set SSL options on ARes connections. | Roy Nicholson | 2009-08-09 | 1 | -0/+41 |
| | | | | | | | | | | | | [#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 |
|/ | |||||
* | HTTP proxy support | Marshall Huss | 2009-08-08 | 1 | -0/+22 |
| | | | | | | [#2133 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add wrap_with_notifications helper to AMo observing | Joshua Peek | 2009-07-20 | 1 | -10/+3 |
| | |||||
* | Add observing hooks to ARes | Joshua Peek | 2009-07-11 | 1 | -2/+9 |
| | |||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+1 |
| | |||||
* | Setup ActiveResource autoloads | Joshua Peek | 2009-06-08 | 1 | -6/+6 |
| | |||||
* | 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 |
| | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -1/+3 |
| |