1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Aaron Patterson 24f9c03d52 Revert "removing Rack::Runtime from the default stack."
This reverts commit 37423e4ff8.

Jeremy is right that we shouldn't remove this.  The fact is that many
engines are depending on this middleware to be in the default stack.
This ties our hands and forces us to keep the middleware in the stack so
that engines will work.  To be extremely clear, I think this is another
smell of "the rack stack" that we have in place.  When manipulating
middleware, we should have meaningful names for places in the req / res
lifecycle **not** have engines depend on a particular constant be in a
particular place in the stack.  This is a weakness of the API that we
have to figure out a way to address before removing the constant.

As far as timing attacks are concerned, we can reduce the granularity
such that it isn't useful information for hackers, but is still useful
for developers.
2015-10-03 14:21:31 -07:00
..
assets Update rails_welcome.png 2015-06-24 01:38:08 -04:00
bug_report_templates Fix: make Travis CI happy about guides again 2015-09-01 10:00:06 -07:00
rails_guides File encoding is defaulted to utf-8 in Ruby >= 2.1 2015-09-18 17:05:05 +09:00
source Revert "removing Rack::Runtime from the default stack." 2015-10-03 14:21:31 -07:00
.document
CHANGELOG.md Add code of conduct to README.md and to contributing guide [ci skip] 2015-08-18 19:53:31 -04:00
rails_guides.rb
Rakefile Fix WARNINGS flag inside guides/Rakefile 2015-07-29 20:00:58 -04:00
w3c_validator.rb