aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Moved more configuration away from bootstrap.José Valim2010-01-221-0/+6
|
* Default to sync instrumentation.José Valim2010-01-211-11/+2
|
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-172-3/+25
|
* Merge docrailsPratik Naik2010-01-171-0/+7
|
* Remove URI object from ActiveResource notification, send the :mailer class ↵José Valim2010-01-152-5/+6
| | | | in AM (like in AP#process_action) and remove locale instrumentation.
* Yield the payload notifications for further modification (like adding the ↵José Valim2010-01-151-3/+3
| | | | result).
* Add notifications to ActiveResource.José Valim2010-01-144-10/+68
|
* Autoload AMo test caseJoshua Peek2010-01-041-1/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Some railties cleanup:Carl Lerche2009-12-311-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.rbCarl Lerche2009-12-311-1/+2
|
* Add a /rails.rb for each framework for consistencyCarl Lerche2009-12-311-0/+1
|
* Fix new schema test dependency on Hash#to_xmlJeremy Kemper2009-12-231-0/+1
|
* All ARes modules are safe to deferJoshua Peek2009-12-222-10/+11
|
* Flip deferrable autoload conventionJoshua Peek2009-12-221-8/+10
|
* Remove annoying and useless meta commentsJoshua Peek2009-12-201-6/+6
|
* Use instance_eval for schema blockJoshua Peek2009-12-203-62/+69
|
* Rename define_schema => schemaJoshua Peek2009-12-203-43/+40
|
* Rename SchemaDefinition => SchemaJoshua Peek2009-12-204-37/+37
|
* define_schema for Active ResourceTaryn East2009-12-203-2/+609
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-162-10/+9
| | | | adding any to the load path more than once.
* ARes rake task should not worry about AS being in pathJoshua Peek2009-12-161-2/+0
|
* Hush ARes test suiteJoshua Peek2009-12-161-1/+0
|
* Reorganize autoloads:Carlhuda2009-12-023-10/+13
| | | | | | | | | | | | | | | | | | | | | * 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.
* Unify test:isolated across components and run by default at toplevelJeremy Kemper2009-11-101-7/+8
|
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+3
|
* Symbol#to_proc is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
|
* Ruby 1.9.2: URI.parse and .decode are deprecatedJeremy Kemper2009-11-092-8/+13
|
* Remove reliance on string access core extensionJeremy Kemper2009-11-091-12/+15
|
* Consolidate Object#to_param and #to_query core extensionsJeremy Kemper2009-11-021-0/+1
|
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-2/+8
|
* We won't be publishing tars and zips anymoreJoshua Peek2009-10-161-6/+4
|
* Fix testsJeremy Kemper2009-10-141-0/+1
|
* Digest auth option for ActiveResource.pivotal2009-10-155-35/+258
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix for Ruby 1.9 - define_method throws an exception under 1.9 if given ↵Chad Woolley2009-10-081-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 Woolley2009-10-082-2/+5
| | | | | | respond to #code or #message Signed-off-by: Carl Lerche <carllerche@mac.com>
* Cleanup whitespace introduced in 8377646 and f4f6888Joshua Peek2009-10-023-55/+47
|
* add indifferent access to the attributesTaryn East2009-10-023-1/+30
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* update_attribute(s) added to Active ResourceTaryn East2009-10-022-2/+81
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Make gemspecs the authoritative source instead of generating them from the ↵Joshua Peek2009-09-252-69/+20
| | | | Rakefile
* Fix brittle content-type check. [#1956 state:committed]Jeremy Kemper2009-09-172-4/+4
|
* Revert "Allow frameworks to be required by their gem name"Jeremy Kemper2009-09-121-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 testsJoshua Peek2009-09-053-2/+6
|
* Kill AMo observing wrap_with_notifications since ARes was only using itJoshua Peek2009-09-021-1/+12
|
* Add required dependencies on activemodelCarl Lerche2009-09-012-2/+6
|
* Add rake gemspec and gemspecs to the repoYehuda Katz2009-08-312-0/+40
|
* Added first/last/all aliases for equivalent find scopestaryn2009-08-212-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?taryn2009-08-193-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_everytaryn2009-08-192-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>