Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move observers initialization to after_config blocks, they are still being ↵ | José Valim | 2010-04-20 | 1 | -13/+9 | |
| | | | | initialized to early (before load paths are being set). | |||||
* | Split the observer railtie into two phases. | Michael Koziarski | 2010-04-16 | 1 | -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 that | wycats | 2010-03-29 | 1 | -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é Valim | 2010-03-26 | 1 | -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, | wycats | 2010-03-07 | 1 | -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::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -2/+2 | |
| | ||||||
* | Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails always ↵ | Jeremy Kemper | 2010-02-04 | 1 | -2/+4 | |
| | | | | uses AS. | |||||
* | Drop AR I18n deprecation and simple use errors.messages as fallback. | José Valim | 2010-01-30 | 1 | -12/+0 | |
| | ||||||
* | tsort-based dependency resolution for initializers | Paul Rosania | 2010-01-29 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Move the ActiveRecord generator settings into the Railtie | Carl Lerche | 2010-01-28 | 1 | -0/+3 | |
| | ||||||
* | As first step setup the load path and lazy compare middlewares. | José Valim | 2010-01-25 | 1 | -3/+3 | |
| | ||||||
* | Add active_model/railtie back to generated boot.rb, add models back to ↵ | José Valim | 2010-01-25 | 1 | -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é Valim | 2010-01-24 | 1 | -1/+1 | |
| | ||||||
* | Moved more configuration away from bootstrap. | José Valim | 2010-01-22 | 1 | -5/+5 | |
| | ||||||
* | Move Dispatcher setup to Railties and add instrumentation hook. | José Valim | 2010-01-15 | 1 | -0/+13 | |
| | ||||||
* | Move AR logging responsibilities to ActiveRecord::Railties::Subscriber. | José Valim | 2010-01-13 | 1 | -8/+4 | |
| | ||||||
* | Send the connection in AR notifications to avoid checking out new ↵ | José Valim | 2010-01-11 | 1 | -1/+1 | |
| | | | | connections in threads just for logging purposes. | |||||
* | Add a deprecation message to activerecord.errors. | José Valim | 2010-01-07 | 1 | -0/+11 | |
| | ||||||
* | Use underscore in notification namespaces. | José Valim | 2010-01-04 | 1 | -1/+1 | |
| | ||||||
* | Use namespaces in notifications. | José Valim | 2010-01-03 | 1 | -1/+1 | |
| | ||||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+71 | |
* Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin |