aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵José Valim2010-04-081-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é Valim2010-04-051-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 thatwycats2010-03-291-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é Valim2010-03-261-6/+7
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Fix protect_against_forgeryCarlhuda2010-03-191-1/+3
|
* Move request forgery protection configuration to the AC config objectCarl Lerche2010-03-081-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,wycats2010-03-071-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 testsCarl Lerche2010-03-041-6/+0
|
* Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵Carlhuda2010-03-041-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 ↵Carlhuda2010-03-041-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 warningsCarlhuda2010-03-041-17/+33
|
* Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-031-0/+3
|
* Start refactoring the method of configuring ActionViewCarlhuda2010-03-031-0/+14
|
* Get the railties tests to pass again.Carlhuda2010-03-021-5/+0
|
* Moved initializers for ActionMailer and ActionController into their own railtiesCarlhuda2010-03-021-0/+5
|
* Make ActionController::Routing::Routes a DeprecatedProxyCarlhuda2010-02-261-1/+7
|
* Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵Carlhuda2010-02-261-1/+0
| | | | Rails.application.routes in Rails internal tests
* Get URL helpers working again in integration tests.Carlhuda2010-02-251-0/+2
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-2/+8
|
* Continued effort to deglobalize the routerCarlhuda2010-02-251-0/+1
|
* 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-0/+1
| | | | uses AS.
* AC railtie should configure helpers path.José Valim2010-01-261-0/+4
|
* 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-10/+0
|
* Add view paths to Engine setup.José Valim2010-01-221-2/+1
|
* Massive cleanup in Railties and load stack.José Valim2010-01-211-6/+0
|
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-171-48/+0
|
* Get rid of prepare_each_request, since now it's a middleware initialization ↵José Valim2010-01-171-1/+0
| | | | parameter.
* Build middleware stack and reload routes after app initializers runJoshua Peek2010-01-161-1/+0
| | | | [#3709 state:resolved]
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-4/+4
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-131-8/+3
|
* Cleanup junk metal and revise APIJoshua Peek2010-01-101-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 timeJoshua Peek2010-01-041-20/+0
|
* Some railties cleanup:Carl Lerche2009-12-311-0/+96
* Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin