Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved] | Prem Sichanugrist | 2011-02-25 | 1 | -2/+2 | |
| | | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match. | |||||
* | We really don't care about IM middleware order, the important is that it ↵ | Emilio Tagua | 2011-02-18 | 1 | -1/+1 | |
| | | | | gets included. | |||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2010-12-20 | 1 | -0/+7 | |
|\ | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/persistence.rb | |||||
| * | Introduce ActionDispatch::Reloader | John Firebaugh | 2010-12-20 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Don't load IdentityMap middleware if not enabled. Simplify middleware. | Emilio Tagua | 2010-11-19 | 1 | -0/+5 | |
| | | ||||||
* | | Use IdentityMap middleware to flush map on each request. | Emilio Tagua | 2010-11-19 | 1 | -0/+2 | |
|/ | ||||||
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 1 | -21/+43 | |
| | ||||||
* | Fix a routing test. Reorganize middleware tests. | José Valim | 2010-10-02 | 1 | -91/+0 | |
| | ||||||
* | Only add Rack::Cache to the middleware stack if ↵ | Sparky | 2010-09-15 | 1 | -4/+31 | |
| | | | | config.action_controller.perform_caching is set. | |||||
* | First pass at Rack::Cache | wycats | 2010-09-13 | 1 | -4/+5 | |
| | ||||||
* | Revert "Just add connection management middleware if running in a concurrent ↵ | Jeremy Kemper | 2010-08-20 | 1 | -0/+1 | |
| | | | | | | environment." This reverts commit 6b29dc876fe185881d46731c3ae170478a3828fe. | |||||
* | Fix middleware test | wycats | 2010-07-27 | 1 | -1/+2 | |
| | ||||||
* | application generation: --skip-testunit and --skip-activerecord renamed to ↵ | Xavier Noria | 2010-07-25 | 1 | -1/+1 | |
| | | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there. | |||||
* | Just add connection management middleware if running in a concurrent ↵ | José Valim | 2010-07-12 | 1 | -1/+0 | |
| | | | | environment. | |||||
* | adding middleware test for RAILS_CACHE | Neeraj Singh | 2010-06-24 | 1 | -0/+11 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Ensure show exceptions middleware properly filters backtrace before logging. | José Valim | 2010-06-09 | 1 | -0/+20 | |
| | ||||||
* | Add delete to middleware stack proxy. | José Valim | 2010-06-07 | 1 | -0/+6 | |
| | ||||||
* | Remove the laziness from the middleware stack. | José Valim | 2010-05-29 | 1 | -1/+1 | |
| | ||||||
* | Removing Metal from Rails 3. | wycats | 2010-05-29 | 1 | -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é Valim | 2010-05-18 | 1 | -1/+4 | |
| | ||||||
* | ActiveRecord middlewares should be inserted before AD::Cascade [#4493 ↵ | José Valim | 2010-04-29 | 1 | -3/+3 | |
| | | | | state:resolved]. | |||||
* | The rake task :environment now loads config/environment.rb instead of ↵ | José Valim | 2010-04-29 | 1 | -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é Valim | 2010-04-26 | 1 | -0/+93 | |
| | ||||||
* | Add a test which ensures action_dispatch.show_exceptions is properly disabled. | José Valim | 2010-04-02 | 1 | -0/+6 | |
| | ||||||
* | Fix all the broken tests due to the AC configuration refactor | Carl Lerche | 2010-03-03 | 1 | -0/+1 | |
| | ||||||
* | Woops, forgot to actually add active_support/core_ext/file/path.rb | Carlhuda | 2010-02-23 | 1 | -0/+1 | |
| | ||||||
* | Deprecate AC configuration values which were moved to Rack. | José Valim | 2010-02-01 | 1 | -1/+1 | |
| | ||||||
* | Move Rails::Rack::Metal to Rails::Application::Metal and just add cascade if ↵ | José Valim | 2010-01-26 | 1 | -1/+6 | |
| | | | | any metal was declared. | |||||
* | Delegate App calls to instance | Joshua Peek | 2010-01-22 | 1 | -1/+1 | |
| | ||||||
* | Default to sync instrumentation. | José Valim | 2010-01-21 | 1 | -1/+1 | |
| | ||||||
* | Add notifications to default middleware stack and update subscriber tests. | José Valim | 2010-01-17 | 1 | -0/+1 | |
| | ||||||
* | Cookies middleware | Joshua Peek | 2010-01-16 | 1 | -0/+1 | |
| | ||||||
* | Move Flash into middleware | Joshua Peek | 2010-01-15 | 1 | -0/+1 | |
| | ||||||
* | Make HEAD method masquerade as GET so requests are routed correctly | Joshua Peek | 2010-01-15 | 1 | -1/+1 | |
| | ||||||
* | Cleanup junk metal and revise API | Joshua Peek | 2010-01-10 | 1 | -0/+1 | |
| | | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response. | |||||
* | Trash string coercion rack hacks | Joshua Peek | 2010-01-04 | 1 | -1/+0 | |
| | ||||||
* | Default middleware stack needs to be available at configuration time | Joshua Peek | 2010-01-04 | 1 | -0/+12 | |
| | ||||||
* | Middleware configuration tests | Joshua Peek | 2010-01-04 | 1 | -0/+67 | |