Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 1 | -5/+5 | |
| | ||||||
* | Alias app to build_middleware_stack for clarity. | José Valim | 2010-06-21 | 1 | -1/+1 | |
| | ||||||
* | Add lib to load paths when application is inherited to be able to load lib ↵ | José Valim | 2010-06-02 | 1 | -1/+1 | |
| | | | | code during configuration. | |||||
* | Expose remaining hooks to minimize the need for a Railtie based on feedback ↵ | José Valim | 2010-05-16 | 1 | -0/+1 | |
| | | | | from plugin developers. | |||||
* | Ensure that eager_load actually takes place just after the middleware stack ↵ | José Valim | 2010-05-15 | 1 | -2/+8 | |
| | | | | | | is built by using another pattern. Also create a engine_blank_point initializer to ensure any :before or :after hooks defined inside engines won't move the configuration initializers to other places. | |||||
* | Reorganized initializers a bit to enable better hooks for common cases ↵ | wycats | 2010-05-15 | 1 | -4/+2 | |
| | | | | | | | | | | | | | | | without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie. | |||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 1 | -0/+4 | |
| | | | | configuration in request.env. This is another step forward removing global configuration. | |||||
* | Move railties/builtin into lib | Joshua Peek | 2010-03-20 | 1 | -2/+2 | |
| | ||||||
* | Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵ | José Valim | 2010-02-19 | 1 | -7/+4 | |
| | | | | after_initializer is executed after to_prepare callbacks. | |||||
* | Ensure config.after_initializer is executed before building the middleware ↵ | José Valim | 2010-02-18 | 1 | -4/+6 | |
| | | | | stack. | |||||
* | Add config.to_prepare back and add tests for it. | José Valim | 2010-01-28 | 1 | -1/+7 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Refactor MetalLoader and RoutesReloader to rely less on class configuration. | José Valim | 2010-01-28 | 1 | -2/+2 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Ensure all initializers are collections. | José Valim | 2010-01-26 | 1 | -8/+8 | |
| | ||||||
* | Fix a couple failures on 1.9.1. | José Valim | 2010-01-24 | 1 | -1/+1 | |
| | ||||||
* | Ensure metals and initializers in plugins are loaded. | José Valim | 2010-01-24 | 1 | -1/+1 | |
| | ||||||
* | Solve some pendencies. | José Valim | 2010-01-24 | 1 | -1/+1 | |
| | ||||||
* | First steps into making Plugin < Engine. | José Valim | 2010-01-23 | 1 | -0/+12 | |
| | ||||||
* | Break application.rb file in smaller chunks. | José Valim | 2010-01-23 | 1 | -0/+31 | |