aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/middleware_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removing Metal from Rails 3. wycats2010-05-291-6/+0
| | | | | | | | | | | | | | | | | | | | If you have existing Metals, you have a few options: * if your metal behaves like a middleware, add it to the middleware stack via config.middleware.use. You can use methods on the middleware stack to control exactly where it should go * if it behaves like a Rack endpoint, you can link to it in the router. This will result in more optimal routing time, and allows you to remove code in your endpoint that matches specific URLs in favor of the more powerful handling in the router itself. For the future, you can use ActionController::Metal to get a very fast controller with the ability to opt-in to specific controller features without paying the penalty of the full controller stack. Since Rails 3 is closer to Rack, the Metal abstraction is no longer needed.
* Simplify cookie_store by simply relying on cookies.signed.José Valim2010-05-181-1/+4
|
* ActiveRecord middlewares should be inserted before AD::Cascade [#4493 ↵José Valim2010-04-291-3/+3
| | | | state:resolved].
* The rake task :environment now loads config/environment.rb instead of ↵José Valim2010-04-291-0/+1
| | | | initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
* Refactor tests by moving all middleware tests to the same place.José Valim2010-04-261-0/+93
|
* Add a test which ensures action_dispatch.show_exceptions is properly disabled.José Valim2010-04-021-0/+6
|
* Fix all the broken tests due to the AC configuration refactorCarl Lerche2010-03-031-0/+1
|
* Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-231-0/+1
|
* Deprecate AC configuration values which were moved to Rack.José Valim2010-02-011-1/+1
|
* Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵José Valim2010-01-261-1/+6
| | | | any metal was declared.
* Delegate App calls to instanceJoshua Peek2010-01-221-1/+1
|
* Default to sync instrumentation.José Valim2010-01-211-1/+1
|
* Add notifications to default middleware stack and update subscriber tests.José Valim2010-01-171-0/+1
|
* Cookies middlewareJoshua Peek2010-01-161-0/+1
|
* Move Flash into middlewareJoshua Peek2010-01-151-0/+1
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-151-1/+1
|
* Cleanup junk metal and revise APIJoshua Peek2010-01-101-0/+1
| | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response.
* Trash string coercion rack hacksJoshua Peek2010-01-041-1/+0
|
* Default middleware stack needs to be available at configuration timeJoshua Peek2010-01-041-0/+12
|
* Middleware configuration testsJoshua Peek2010-01-041-0/+67