Brian Durand
04d5eae4e8
Add ActiveSupport::Cache::NullStore to expose caching interface without actually caching for development and test environments.
2011-12-12 13:40:29 -06:00
José Valim
750bb5c865
Split ShowExceptions responsibilities in two middlewares.
2011-12-01 20:46:18 +01:00
José Valim
b4359bc723
Allow rescue responses to be configured through a railtie.
2011-12-01 19:21:35 +01:00
lest
13cab6ef50
fix exception page when template contains utf-8 and parameters contain utf-8
2011-11-30 21:51:01 +03:00
lest
98a1717e7c
configuration option to always write cookie
2011-11-23 23:50:04 +03:00
Brendan Ribera
57d9737f2f
Test demonstrating #3053 : If-Modified-Since gets swallowed up by rack-cache.
2011-10-03 11:32:24 -07:00
Santiago Pastorino
8845ae683e
x_sendfile_header now defaults to nil and production.rb env file doesn't
...
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
2011-08-07 13:11:50 -03:00
Jon Leighton
62570e8626
Solve the RAILS_ENV problem in the railties tests in a more generic way
2011-06-06 13:54:05 +01:00
Jon Leighton
d411c85a65
Replace references to ActiveSupport::SecureRandom with just SecureRandom, and require 'securerandom' from the stdlib when active support is required.
2011-05-23 20:25:44 +01:00
Prem Sichanugrist
515ea955b6
Always use ActionDispatch::ShowExceptions middleware [ #6462 state:resolved]
...
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.
2011-02-25 10:03:53 -08:00
José Valim
609849a0f1
Fix a routing test. Reorganize middleware tests.
2010-10-02 17:42:36 +02:00
Sparky
eeb3246991
Only add Rack::Cache to the middleware stack if config.action_controller.perform_caching is set.
2010-09-15 12:58:49 -07:00
Carlhuda
0fe99e87c0
Add tests for Rack::Cache
2010-09-13 16:06:03 -07:00