aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib
Commit message (Collapse)AuthorAgeFilesLines
* ActiveResource shouldn't consider modules in the pathSantiago Pastorino2010-05-151-16/+2
| | | | | | [#4529 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Better code formatting and proper line numbers for stack tracesNeeraj Singh2010-05-141-1/+1
| | | | | | [#4596 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixes to_json and to_xml for ActiveResourceSantiago Pastorino2010-05-121-6/+15
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make ActiveResource serialize XML correctly when element_name is set.Santiago Pastorino2010-05-121-4/+15
| | | | | | [#4529] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Change event namespace ordering to most-significant first [#4504 state:resolved]Justin George2010-05-021-1/+1
| | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com>
* Reuse Active Model serialization in Active Resource. [#2584 state:committed]Santiago Pastorino2010-04-261-63/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "create option to include_root_in_json for ActiveResource [#2584 ↵Jeremy Kemper2010-04-251-9/+0
| | | | | | | | | | state:committed]" This reverts commits 72f89b5d971b48a133c4c0af56fbeda35d738dae, 137d8e0b2fe9fcc4fdac6cbbd44ca010784e5972. Should reuse Active Model. [#2584 state:incomplete]
* Update versions (otherwise you install a gem from source as beta3 but ↵José Valim2010-04-101-1/+1
| | | | internally it's beta2) and update CHANGELOG.
* fix stack trace lines on class_evalSantiago Pastorino2010-04-092-4/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* create option to include_root_in_json for ActiveResource [#2584 state:committed]Santiago Pastorino2010-04-051-0/+9
|
* Prep for beta2, depend on latest BundlerDavid Heinemeier Hansson2010-04-011-1/+1
|
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-282-0/+3
|
* adds missing requires for Object#duplicable?Xavier Noria2010-03-281-0/+1
|
* Makes ActiveResource work with form_for: - Adds a `build' method that can be ↵Gaël Deest2010-03-271-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>
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-2/+2
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Update versions of all components to normalize them to new formatBryan Helmkamp2010-03-021-2/+3
|
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-162-3/+3
|
* Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake install' ↵Prem Sichanugrist2010-02-061-1/+1
| | | | | | will be run correctly [#3879 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move to 3.0.0.betaDavid Heinemeier Hansson2010-02-031-1/+1
|
* Use format of ARes rather than content-type of remote errors to load errors.Jatinder Singh2010-01-271-3/+3
| | | | | | [#1956 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* 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
|
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-3/+12
|
* 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-143-10/+29
|
* 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
|
* 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-202-16/+13
|
* Rename define_schema => schemaJoshua Peek2009-12-202-25/+22
|
* Rename SchemaDefinition => SchemaJoshua Peek2009-12-203-13/+13
|
* define_schema for Active ResourceTaryn East2009-12-202-2/+200
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-5/+6
| | | | adding any to the load path more than once.
* Reorganize autoloads:Carlhuda2009-12-021-7/+9
| | | | | | | | | | | | | | | | | | | | | * 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.
* 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
|
* Digest auth option for ActiveResource.pivotal2009-10-152-11/+91
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Ruby 1.9: Fix ActiveResource::ConnectionError#to_s when @response does not ↵Chad Woolley2009-10-081-1/+4
| | | | | | respond to #code or #message Signed-off-by: Carl Lerche <carllerche@mac.com>
* Cleanup whitespace introduced in 8377646 and f4f6888Joshua Peek2009-10-021-35/+34
|
* add indifferent access to the attributesTaryn East2009-10-021-1/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* update_attribute(s) added to Active ResourceTaryn East2009-10-021-0/+30
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix brittle content-type check. [#1956 state:committed]Jeremy Kemper2009-09-171-2/+2
|
* 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]
* Kill AMo observing wrap_with_notifications since ARes was only using itJoshua Peek2009-09-021-1/+12
|