aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/rails_on_rack.md
Commit message (Collapse)AuthorAgeFilesLines
* Replace ActionDispatch::LoadInterlock with ActionDispatch::Executor in ↵willnet2016-04-301-2/+2
| | | | | | | guides [ci skip] Guides should be updated because ActionDispatch::LoadInterlock was replaced with ActionDispatch::Executor at #23807.
* remove "rake" word [ci skip]yuuji.yaginuma2016-02-281-1/+1
|
* Merge pull request #22857 from bdewater/interlock-docVipul A M2016-02-011-3/+7
|\ | | | | Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip]
| * Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip]Bart de Water2016-01-311-3/+7
| |
* | - Changed from bin/rake to bin/rails at more application places.Vipul A M2016-01-201-2/+2
|/ | | | | | | - Only ones left are from the upgrading guide, and command line guide explicit section about rake Follow up of https://github.com/rails/rails/pull/23119 [ci skip]
* Replace `serve_static_files` mentions in docs.Kasper Timm Hansen2015-11-041-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 Patterson2015-10-031-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_middlewareKasper Timm Hansen2015-10-031-5/+5
|\ | | | | use class to specify the middleware [ci skip]
| * use class to specify the middleware [ci skip]yuuji.yaginuma2015-10-031-5/+5
| | | | | | | | using string for middleware class names is deprecated in 83b767cef90abfc4c2ee9f4b451b0215501fae9a
* | removing Rack::Runtime from the default stack.Aaron Patterson2015-10-021-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 middlewareAaron Patterson2015-09-181-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#middlewareRobin Dupret2015-06-231-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/docrailsVijay Dev2015-06-211-2/+0
|\ | | | | | | | | Conflicts: guides/source/configuring.md
| * Remove broken linksGaurish Sharma2015-06-211-2/+0
| | | | | | [ci skip]
* | remove `Rails::Rack::Debugger` from guides [ci skip]yuuji.yaginuma2015-06-181-3/+1
|/ | | | Rails::Rack::Debugger was removed in 93559da4826546d07014f8cfa399b64b4a143127
* Prefer request_id over uuid and test the aliasRafael Mendonça França2015-02-201-1/+1
|
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* Remove debugger supportRafael Mendonça França2015-01-041-1/+0
| | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Merge pull request #18100 from chancancode/serve_static_filesGodfrey Chan2014-12-191-1/+1
| | | | | | Allow static asset serving from env variable (enhanced!) Conflicts: railties/CHANGELOG.md
* [ci skip] Fix class name of middleware.yui-knk2014-11-231-1/+1
|
* [ci skip] Dispatching is a verb :bow:Zachary Scott2014-11-221-1/+1
| | | | cc #17719
* Fix explanation for ActionDispatch::Callbacks.yui-knk2014-11-231-1/+1
| | | | | ActionDispatch::Callbacks dose not run the prepare callbacks, so change with comment on ActionDispatch::Callbacks.
* Warning about middleware not auto-reloadingNicolas Cavigneaux2014-10-081-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 Sharma2014-06-061-1/+1
|
* Use generated binstubs in guides examples.Josef Šimánek2014-05-201-2/+2
| | | | [ci skip]
* Update documentation to use Rails.application insteadMarcel Morgan2014-04-131-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 Jeremy2013-12-051-1/+1
| | | [ci skip]
* Remove outdated guide on using rack builder w/o rails middlewareAlex Johnson2013-11-131-20/+0
| | | | [ci skip]
* Correct guide relating MiddlewareStackProxy with EnumerableAlex Johnson2013-11-131-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 Yadav2013-11-041-1/+1
|
* guides/rails_on_rack: Fix formatting of _Internal Middleware Stack_ sectionZachary Scott2013-10-281-23/+23
|
* [ci skip] Add explanation on Rack::Sendfile and fix serve static files setting.Juanito Fatas2013-10-041-1/+5
|
* metal is no longer mentioned on rack guideDan Pickett2013-07-211-1/+0
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-07-211-0/+1
|\
| * Rack Sendfile is coming as default nowArun Agrawal2013-07-151-0/+1
| |
* | Cleaned up wording and tags.blahedo2013-07-061-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 Dev2013-06-141-2/+1
|
* Middleware in guide updated [ci skip]Rashmi Yadav2013-06-081-0/+6
|
* Remove double spaces in code examplesSunny Ripert2013-05-281-1/+1
|
* update git linksRoman Shmatov2013-04-131-1/+1
|
* Fixed TypoPrathamesh Sonpatki2013-04-031-1/+1
|
* adjust config.ru tempalte used in the rails on rack guideYves Senn2013-04-031-4/+7
|
* Remove BestStandardsSupport referencesrobertomiranda2013-02-011-6/+0
|
* prefer do-end for multiline blockGosha Arinich2013-01-061-2/+2
|
* Update guides/source/rails_on_rack.mdJonathan Baudanza2012-12-301-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 Oldaker2012-12-071-4/+4
|
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-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 Klabnik2012-11-291-4/+4
| | | | Talked with @fxn about this. Bullet points should have periods at the ends.
* Update the middleware stack to reflect the current Rails outputAgis Anastasopoulos2012-11-161-2/+2
| | | Specifically, remove `ActionDispatch::Head` in favor of `Rack::Head`.