Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵ | José Valim | 2010-04-08 | 1 | -0/+6 |
| | | | | started in another directory which is not the RAILS_ROOT. | ||||
* | Rename config.cookie_secret to config.secret_token and pass it as ↵ | José Valim | 2010-04-05 | 1 | -1/+0 |
| | | | | configuration in request.env. This is another step forward removing global configuration. | ||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 1 | -5/+5 |
| | | | | | | | | 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 | -6/+7 |
| | | | | remove railtie_name and engine_name and allow to set the configuration object. | ||||
* | Fix protect_against_forgery | Carlhuda | 2010-03-19 | 1 | -1/+3 |
| | |||||
* | Move request forgery protection configuration to the AC config object | Carl Lerche | 2010-03-08 | 1 | -2/+3 |
| | | | | This is an interim solution pending revisiting the rails framework configuration situation. | ||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -5/+9 |
| | | | | | | | | | | | | 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 | ||||
* | Tweak out url_for uses :script_name and add some tests | Carl Lerche | 2010-03-04 | 1 | -6/+0 |
| | |||||
* | Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵ | Carlhuda | 2010-03-04 | 1 | -0/+6 |
| | | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request. | ||||
* | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 1 | -3/+1 |
| | | | | 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 | -17/+33 |
| | |||||
* | Fix all the broken tests due to the AC configuration refactor | Carl Lerche | 2010-03-03 | 1 | -0/+3 |
| | |||||
* | Start refactoring the method of configuring ActionView | Carlhuda | 2010-03-03 | 1 | -0/+14 |
| | |||||
* | Get the railties tests to pass again. | Carlhuda | 2010-03-02 | 1 | -5/+0 |
| | |||||
* | Moved initializers for ActionMailer and ActionController into their own railties | Carlhuda | 2010-03-02 | 1 | -0/+5 |
| | |||||
* | Make ActionController::Routing::Routes a DeprecatedProxy | Carlhuda | 2010-02-26 | 1 | -1/+7 |
| | |||||
* | Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵ | Carlhuda | 2010-02-26 | 1 | -1/+0 |
| | | | | Rails.application.routes in Rails internal tests | ||||
* | Get URL helpers working again in integration tests. | Carlhuda | 2010-02-25 | 1 | -0/+2 |
| | |||||
* | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 1 | -2/+8 |
| | |||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 1 | -0/+1 |
| | |||||
* | 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 | -0/+1 |
| | | | | uses AS. | ||||
* | AC railtie should configure helpers path. | José Valim | 2010-01-26 | 1 | -0/+4 |
| | |||||
* | 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 | -10/+0 |
| | |||||
* | Add view paths to Engine setup. | José Valim | 2010-01-22 | 1 | -2/+1 |
| | |||||
* | Massive cleanup in Railties and load stack. | José Valim | 2010-01-21 | 1 | -6/+0 |
| | |||||
* | Add ActionDispatch::Railties::Subscriber and finish tidying up the logging. | José Valim | 2010-01-17 | 1 | -48/+0 |
| | |||||
* | Get rid of prepare_each_request, since now it's a middleware initialization ↵ | José Valim | 2010-01-17 | 1 | -1/+0 |
| | | | | parameter. | ||||
* | Build middleware stack and reload routes after app initializers run | Joshua Peek | 2010-01-16 | 1 | -1/+0 |
| | | | | [#3709 state:resolved] | ||||
* | Move Dispatcher setup to Railties and add instrumentation hook. | José Valim | 2010-01-15 | 1 | -4/+4 |
| | |||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 1 | -8/+3 |
| | |||||
* | Cleanup junk metal and revise API | Joshua Peek | 2010-01-10 | 1 | -3/+25 |
| | | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response. | ||||
* | Default middleware stack needs to be available at configuration time | Joshua Peek | 2010-01-04 | 1 | -20/+0 |
| | |||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+96 |
* Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin |