aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/rails_on_rack.md
Commit message (Collapse)AuthorAgeFilesLines
* Remove `Rack::Runtime from console log [ci skip]Shia2016-10-311-1/+0
|
* update doc for prefer require_relative over require + File.expand_path [ci skip]Gaurav Sharma2016-07-071-1/+1
|
* PerRequestDigestCacheExpiry middlware was been removed. Removed traces, for ↵Vipul A M2016-05-171-1/+0
| | | | | | | | the same. https://github.com/rails/rails/commit/23b6a9c0fcb8992e18450d6fe0680bf09685b7db [ci skip]
* The `ActiveRecord::ConnectionAdapters::ConnectionManagement` and ↵Vipul A M2016-05-161-10/+2
| | | | | | | `ActiveRecord::QueryCache` middlewares were removed with `Executor` addition on d3c9d808e3e242155a44fd2a89ef272cfade8fe8 Removes traces and reference of these from all places. [ci skip]
* Change output genereated for middlewares on a new application. This has ↵Vipul A M2016-05-161-3/+3
| | | | | | changed quite a bit after Executor middleware addition. [ci skip]
* 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
|