Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 2 | -3/+3 | |
| | ||||||
* | Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake install' ↵ | Prem Sichanugrist | 2010-02-06 | 1 | -1/+1 | |
| | | | | | | will be run correctly [#3879 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Move to 3.0.0.beta | David Heinemeier Hansson | 2010-02-03 | 1 | -1/+1 | |
| | ||||||
* | Use format of ARes rather than content-type of remote errors to load errors. | Jatinder Singh | 2010-01-27 | 1 | -3/+3 | |
| | | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Rename plugin_name to railtie_name and engine_name. | José Valim | 2010-01-24 | 1 | -1/+1 | |
| | ||||||
* | Moved more configuration away from bootstrap. | José Valim | 2010-01-22 | 1 | -0/+6 | |
| | ||||||
* | save(false) is gone, use save(:validate => false) instead. | José Valim | 2010-01-17 | 1 | -3/+12 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -0/+7 | |
| | ||||||
* | Remove URI object from ActiveResource notification, send the :mailer class ↵ | José Valim | 2010-01-15 | 2 | -5/+6 | |
| | | | | in AM (like in AP#process_action) and remove locale instrumentation. | |||||
* | Yield the payload notifications for further modification (like adding the ↵ | José Valim | 2010-01-15 | 1 | -3/+3 | |
| | | | | result). | |||||
* | Add notifications to ActiveResource. | José Valim | 2010-01-14 | 3 | -10/+29 | |
| | ||||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+0 | |
| | | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin | |||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 1 | -1/+2 | |
| | ||||||
* | Add a /rails.rb for each framework for consistency | Carl Lerche | 2009-12-31 | 1 | -0/+1 | |
| | ||||||
* | All ARes modules are safe to defer | Joshua Peek | 2009-12-22 | 1 | -0/+3 | |
| | ||||||
* | Remove annoying and useless meta comments | Joshua Peek | 2009-12-20 | 1 | -6/+6 | |
| | ||||||
* | Use instance_eval for schema block | Joshua Peek | 2009-12-20 | 2 | -16/+13 | |
| | ||||||
* | Rename define_schema => schema | Joshua Peek | 2009-12-20 | 2 | -25/+22 | |
| | ||||||
* | Rename SchemaDefinition => Schema | Joshua Peek | 2009-12-20 | 2 | -12/+11 | |
| | ||||||
* | define_schema for Active Resource | Taryn East | 2009-12-20 | 2 | -2/+200 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Ruby 1.9.2: URI.parse and .decode are deprecated | Jeremy Kemper | 2009-11-09 | 2 | -8/+13 | |
| | ||||||
* | 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 | 2 | -11/+91 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Ruby 1.9: Fix ActiveResource::ConnectionError#to_s when @response does not ↵ | Chad Woolley | 2009-10-08 | 1 | -1/+4 | |
| | | | | | | 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 | 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> | |||||
* | Fix brittle content-type check. [#1956 state:committed] | Jeremy Kemper | 2009-09-17 | 1 | -2/+2 | |
| | ||||||
* | Kill AMo observing wrap_with_notifications since ARes was only using it | Joshua Peek | 2009-09-02 | 1 | -1/+12 | |
| | ||||||
* | 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> | |||||
* | Added validations to ActiveResource. Added a smoke test to see if we can add ↵ | taryn | 2009-08-19 | 1 | -15/+49 | |
| | | | | | | a validation and use it, and add a validates callback and use it. Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Add support for errors in JSON format. | Fabien Jakimowicz | 2009-08-09 | 2 | -5/+25 | |
| | | | | | | [#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 | 3 | -1/+7 | |
| | | | | | | [Jordan Brough, Jatinder Singh] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Make ActiveResource#exists? work [#3020 state:resolved] | Jatinder Singh | 2009-08-09 | 1 | -2/+3 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Add ability to set SSL options on ARes connections. | Roy Nicholson | 2009-08-09 | 3 | -3/+81 | |
| | | | | | | [#2370 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Setting connection timeout also affects Net::HTTP open_timeout. | Jeremy Kemper | 2009-08-09 | 1 | -7/+19 | |
| | | | | [#2947 state:resolved] | |||||
* | HTTP proxy support | Marshall Huss | 2009-08-08 | 2 | -3/+35 | |
| | | | | | | [#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 | 2 | -10/+13 | |
| | ||||||
* | Add observing hooks to ARes | Joshua Peek | 2009-07-11 | 1 | -2/+9 | |
| | ||||||
* | Bump up the version to 3.0.pre | Carl Lerche | 2009-06-30 | 1 | -3/+3 | |
| | ||||||
* | 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 | 5 | -18/+6 | |
| | ||||||
* | JSON: split encoding and coercion | Jeremy Kemper | 2009-06-08 | 1 | -8/+3 | |
| |