aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/railtie.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated default_charset= from AC::BaseCarlos Antonio da Silva2012-01-171-1/+2
| | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead
* remove Rails application fallback from AD::IntegrationTestSergey Nartimov2011-12-231-0/+2
| | | | set AD::IntegrationTest.app in railtie initializer
* Assign config.encoding to AD::Response.default_charset at the initialization ↵kennyj2011-12-071-0/+1
| | | | time.
* Add an ExceptionWrapper that wraps an exception and provide convenience helpers.José Valim2011-12-011-2/+2
|
* Allow rescue responses to be configured through a railtie.José Valim2011-12-011-1/+12
|
* configuration option to always write cookielest2011-11-231-1/+3
|
* stop circular require warningsAaron Patterson2011-08-241-1/+0
|
* x_sendfile_header now defaults to nil and production.rb env file doesn'tSantiago Pastorino2011-08-071-1/+1
| | | | | | | set a particular value for it. This allows servers to set it through X-Sendfile-Type, read https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more info. Anyways you can force this value in your production.rb
* Allow ignore_accept_header through configuration option.José Valim2011-05-021-0/+2
|
* First pass at Rack::Cachewycats2010-09-131-0/+1
|
* Partial revert of commit #7fae0aa4ac116 removing ↵Mikel Lindsaar2010-09-111-5/+0
| | | | | | | action_dispatch.prepare_dispatcher per commit #48bf667a8b1 See line note: http://github.com/rails/rails/commit/7fae0aa4ac116bcbf522a9a4f19972c653d366fa#commitcomment-145148
* Add configuration option for tld lengthSimon Jefford2010-09-091-0/+10
|
* Ensure routes are loaded only after the initialization process finishes, ↵José Valim2010-09-021-5/+0
| | | | ensuring all configuration options were applied.
* Add a header that tells Internet Explorer (all versions) to use the best ↵wycats2010-07-271-1/+2
| | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client.
* Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader.José Valim2010-06-201-1/+1
|
* Kill legacy dispatcher.José Valim2010-05-181-2/+0
|
* Add a test which ensures action_dispatch.show_exceptions is properly disabled.José Valim2010-04-021-1/+1
|
* Raise exceptions instead of rendering error templates in test environment ↵Rolf Bjaanes2010-04-021-1/+2
| | | | | | [#4315 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Make X-Sendfile default to "" so it works correctly in dev mode.wycats2010-03-261-1/+1
| | | | | Provide a default in production.rb that can be modified, so that people who care about sendfile performance in production mode can get better performance easily.
* Move application configuration to the application configuration object, ↵José Valim2010-03-261-2/+1
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* Deprecated ActionController::Base.session_options= and ↵Carlhuda2010-03-041-2/+0
| | | | 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-0/+2
|
* Move remote_ip to a middleware:Carlhuda2010-03-031-0/+1
| | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-0/+2
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* Ensure metals and initializers in plugins are loaded.José Valim2010-01-241-3/+0
|
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Solve some pendencies.José Valim2010-01-241-1/+1
|
* Extract routes reloading responsibilities from application and load them ↵José Valim2010-01-231-12/+4
| | | | just upon a request.
* Default to sync instrumentation.José Valim2010-01-211-3/+0
|
* Move middleware builder back to Rails::Rack::Metal without losing the new ↵José Valim2010-01-171-29/+0
| | | | behavior.
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-171-0/+58