aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Split the observer railtie into two phases.Michael Koziarski2010-04-161-3/+7
| | | | Observers observing models with scopes defined will require the connection to be established.
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-291-8/+8
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-3/+2
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-15/+27
| | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-161-2/+2
|
* Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails always ↵Jeremy Kemper2010-02-041-2/+4
| | | | uses AS.
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-12/+0
|
* tsort-based dependency resolution for initializersPaul Rosania2010-01-291-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move the ActiveRecord generator settings into the RailtieCarl Lerche2010-01-281-0/+3
|
* As first step setup the load path and lazy compare middlewares.José Valim2010-01-251-3/+3
|
* Add active_model/railtie back to generated boot.rb, add models back to ↵José Valim2010-01-251-5/+4
| | | | paths, load active_support/railtie since we need it and ensure default logger is set before config.
* 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-5/+5
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-0/+13
|
* Move AR logging responsibilities to ActiveRecord::Railties::Subscriber.José Valim2010-01-131-8/+4
|
* Send the connection in AR notifications to avoid checking out new ↵José Valim2010-01-111-1/+1
| | | | connections in threads just for logging purposes.
* Add a deprecation message to activerecord.errors.José Valim2010-01-071-0/+11
|
* Use underscore in notification namespaces.José Valim2010-01-041-1/+1
|
* Use namespaces in notifications.José Valim2010-01-031-1/+1
|
* Some railties cleanup:Carl Lerche2009-12-311-0/+71
* Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin