Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace `serve_static_files` mentions in docs. | Kasper Timm Hansen | 2015-11-04 | 1 | -1/+1 |
| | | | | | | | | Should use `public_file_server.enabled` instead. Clarified that static files will be served from the public directory, where it made sense. Also removed occurrence of the deprecated `static_cache_control`. | ||||
* | Revert "removing Rack::Runtime from the default stack." | Aaron Patterson | 2015-10-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | This reverts commit 37423e4ff883ad5584bab983aceb4b2b759a1fd8. 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. | ||||
* | Merge pull request #21851 from y-yagi/use_class_to_specify_middleware | Kasper Timm Hansen | 2015-10-03 | 1 | -5/+5 |
|\ | | | | | use class to specify the middleware [ci skip] | ||||
| * | use class to specify the middleware [ci skip] | yuuji.yaginuma | 2015-10-03 | 1 | -5/+5 |
| | | | | | | | | using string for middleware class names is deprecated in 83b767cef90abfc4c2ee9f4b451b0215501fae9a | ||||
* | | removing Rack::Runtime from the default stack. | Aaron Patterson | 2015-10-02 | 1 | -1/+0 |
|/ | | | | | | | | | | | | The runtime header is a potential target for timing attacks since it returns the amount of time spent on the server (eliminating network speed). Total time is also not accurate for streaming responses. The middleware can be added back via: ```ruby config.middleware.ues ::Rack::Runtime ``` | ||||
* | mostly remove the ParamsParser middleware | Aaron Patterson | 2015-09-18 | 1 | -5/+0 |
| | | | | | This can still be added to the middleware stack, but is really not necessary. I'll follow up with a commit that deprecates the constant | ||||
* | Remove the paragraph about Rails::Server#middleware | Robin Dupret | 2015-06-23 | 1 | -18/+0 |
| | | | | | | | | | | | As of 56903585, the Rack::ContentLength middleware isn't included by default anymore. The only remaining middleware is Rack::Lock ; since it's only included when using WEBrick, it's certainly not worth documenting it in the guides. [ci skip] | ||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-06-21 | 1 | -2/+0 |
|\ | | | | | | | | | Conflicts: guides/source/configuring.md | ||||
| * | Remove broken links | Gaurish Sharma | 2015-06-21 | 1 | -2/+0 |
| | | | | | | [ci skip] | ||||
* | | remove `Rails::Rack::Debugger` from guides [ci skip] | yuuji.yaginuma | 2015-06-18 | 1 | -3/+1 |
|/ | | | | Rails::Rack::Debugger was removed in 93559da4826546d07014f8cfa399b64b4a143127 | ||||
* | Prefer request_id over uuid and test the alias | Rafael Mendonça França | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | Remove debugger support | Rafael Mendonça França | 2015-01-04 | 1 | -1/+0 |
| | | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore | ||||
* | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | Merge pull request #18100 from chancancode/serve_static_files | Godfrey Chan | 2014-12-19 | 1 | -1/+1 |
| | | | | | | Allow static asset serving from env variable (enhanced!) Conflicts: railties/CHANGELOG.md | ||||
* | [ci skip] Fix class name of middleware. | yui-knk | 2014-11-23 | 1 | -1/+1 |
| | |||||
* | [ci skip] Dispatching is a verb :bow: | Zachary Scott | 2014-11-22 | 1 | -1/+1 |
| | | | | cc #17719 | ||||
* | Fix explanation for ActionDispatch::Callbacks. | yui-knk | 2014-11-23 | 1 | -1/+1 |
| | | | | | ActionDispatch::Callbacks dose not run the prepare callbacks, so change with comment on ActionDispatch::Callbacks. | ||||
* | Warning about middleware not auto-reloading | Nicolas Cavigneaux | 2014-10-08 | 1 | -0/+4 |
| | | | | | | | | | Add a section in the guide to explain that Rails can't auto-reload a middleware on code change. Fix #16806 [ci skip] | ||||
* | remove rubyforge.org that was shut down [ci skip] | Gaurav Sharma | 2014-06-06 | 1 | -1/+1 |
| | |||||
* | Use generated binstubs in guides examples. | Josef Šimánek | 2014-05-20 | 1 | -2/+2 |
| | | | | [ci skip] | ||||
* | Update documentation to use Rails.application instead | Marcel Morgan | 2014-04-13 | 1 | -5/+4 |
| | | | | | | | References to ``AppName::Application` removed in favour of ``Rails.application`` as generated with a new rails 4.1 app. [ci skip] | ||||
* | Rails on Rack: Replace an unpleasant grammatical construct. | Jashank Jeremy | 2013-12-05 | 1 | -1/+1 |
| | | | [ci skip] | ||||
* | Remove outdated guide on using rack builder w/o rails middleware | Alex Johnson | 2013-11-13 | 1 | -20/+0 |
| | | | | [ci skip] | ||||
* | Correct guide relating MiddlewareStackProxy with Enumerable | Alex Johnson | 2013-11-13 | 1 | -5/+4 |
| | | | | | | | | [ci skip] Enumerable.instance_methods & Rails::Configuration::MiddlewareStackProxy.instance_methods # => [:as_json] MiddlewareStackProxy does not share any notable methods with Enumerable. | ||||
* | Fixed code syntax for config.ru [ci skip] | Rashmi Yadav | 2013-11-04 | 1 | -1/+1 |
| | |||||
* | guides/rails_on_rack: Fix formatting of _Internal Middleware Stack_ section | Zachary Scott | 2013-10-28 | 1 | -23/+23 |
| | |||||
* | [ci skip] Add explanation on Rack::Sendfile and fix serve static files setting. | Juanito Fatas | 2013-10-04 | 1 | -1/+5 |
| | |||||
* | metal is no longer mentioned on rack guide | Dan Pickett | 2013-07-21 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2013-07-21 | 1 | -0/+1 |
|\ | |||||
| * | Rack Sendfile is coming as default now | Arun Agrawal | 2013-07-15 | 1 | -0/+1 |
| | | |||||
* | | Cleaned up wording and tags. | blahedo | 2013-07-06 | 1 | -1/+1 |
|/ | | | | | | | | Replaced <br /> with <br> for consistency; Added note about singular/plural distinction (which was previously confusing to a Rails noob); Rephrased explanation of how form is routed to controller, again to reduce confusion; and added explanation to replace incorrect link. [ci skip] | ||||
* | copy edits [ci skip] | Vijay Dev | 2013-06-14 | 1 | -2/+1 |
| | |||||
* | Middleware in guide updated [ci skip] | Rashmi Yadav | 2013-06-08 | 1 | -0/+6 |
| | |||||
* | Remove double spaces in code examples | Sunny Ripert | 2013-05-28 | 1 | -1/+1 |
| | |||||
* | update git links | Roman Shmatov | 2013-04-13 | 1 | -1/+1 |
| | |||||
* | Fixed Typo | Prathamesh Sonpatki | 2013-04-03 | 1 | -1/+1 |
| | |||||
* | adjust config.ru tempalte used in the rails on rack guide | Yves Senn | 2013-04-03 | 1 | -4/+7 |
| | |||||
* | Remove BestStandardsSupport references | robertomiranda | 2013-02-01 | 1 | -6/+0 |
| | |||||
* | prefer do-end for multiline block | Gosha Arinich | 2013-01-06 | 1 | -2/+2 |
| | |||||
* | Update guides/source/rails_on_rack.md | Jonathan Baudanza | 2012-12-30 | 1 | -1/+1 |
| | | | | | Rack::Lock actually sets rack.multithread to `false`, not `true`. Presumably because once inside the mutex, the app can function as if it were single threaded. | ||||
* | Fixed grammar in a lot of guide prologues. | Katie Oldaker | 2012-12-07 | 1 | -4/+4 |
| | |||||
* | Normalize on 'After reading this guide, you will know:' | Steve Klabnik | 2012-11-29 | 1 | -1/+3 |
| | | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere. | ||||
* | Add periods to the bullet points in guides. | Steve Klabnik | 2012-11-29 | 1 | -4/+4 |
| | | | | Talked with @fxn about this. Bullet points should have periods at the ends. | ||||
* | Update the middleware stack to reflect the current Rails output | Agis Anastasopoulos | 2012-11-16 | 1 | -2/+2 |
| | | | Specifically, remove `ActionDispatch::Head` in favor of `Rack::Head`. | ||||
* | Remove unnecessary whitespace | Agis Anastasopoulos | 2012-11-16 | 1 | -1/+1 |
| | |||||
* | fix bugs in rails_on_rack [ci-skip] | Cesar Carruitero | 2012-11-08 | 1 | -2/+2 |
| | |||||
* | migrating guides to new hash syntax | AvnerCohen | 2012-10-10 | 1 | -2/+2 |
| | |||||
* | Fix remaining formatting problems in the guide | Prem Sichanugrist | 2012-09-17 | 1 | -23/+45 |
| | |||||
* | Convert all tables to Markdown syntax | Prem Sichanugrist | 2012-09-17 | 1 | -3/+4 |
| |