Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move AD::Cascade to the bottom of the middleware stack. | José Valim | 2010-05-16 | 1 | -32/+1 |
| | |||||
* | Expose remaining hooks to minimize the need for a Railtie based on feedback ↵ | José Valim | 2010-05-16 | 1 | -0/+12 |
| | | | | from plugin developers. | ||||
* | Reorganized initializers a bit to enable better hooks for common cases ↵ | wycats | 2010-05-15 | 1 | -6/+42 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Move application configuration to the application configuration object, ↵ | José Valim | 2010-03-26 | 1 | -69/+8 |
| | | | | remove railtie_name and engine_name and allow to set the configuration object. | ||||
* | Move middlewares to the Application level. If you want to modify the ↵ | Carlhuda | 2010-03-08 | 1 | -4/+0 |
| | | | | middleware, either use Rails.application.config.middleware or modify it in an initializer (if you need to set it relative to user-specified middleware). | ||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 1 | -2/+32 |
| | | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings. | ||||
* | Move session and session_store onto ActionDispatch and add deprecation warnings | Carlhuda | 2010-03-04 | 1 | -2/+2 |
| | |||||
* | No need for a module if it's only being included once into an empty class. | Carl Lerche | 2010-03-04 | 1 | -1/+91 |
| | |||||
* | Move configuration to subfolders. | José Valim | 2010-01-23 | 2 | -1/+10 |
| | |||||
* | Create configurable modules and ensure that they are added only on direct ↵ | José Valim | 2010-01-23 | 1 | -0/+23 |
children. |