aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/rails_on_rack.md
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #33229 from ↵Matthew Draper2018-07-251-3/+3
|\ | | | | | | | | albertoalmagro/albertoalmagro/prefer-rails-command-over-bin-rails Prefer rails command over bin/rails
| * Substitute references to task for commandAlberto Almagro2018-07-061-1/+1
| | | | | | | | This commit substitutes references to rails/rake task for rails command
| * Recommend use of rails over bin/railsAlberto Almagro2018-07-061-2/+2
| | | | | | | | | | | | | | | | | | As discussed in #33203 rails command already looks for, and runs, bin/rails if it is present. We were mixing recommendations within guides and USAGE guidelines, in some files we recommended using rails, in others bin/rails and in some cases we even had both options mixed together.
* | Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
|/ | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* Added a lot of Oxford commasAnthony Crumley2018-05-101-3/+3
| | | | | | | [ci skip] A regular expression was used to find a lot of missing Oxford commas and add them. The regular expression was as follows. ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
* Add Rack::TempfileReaper to tests and docsGeorge Claghorn2018-01-301-0/+5
|
* Add ContentSecurityPolicy to list of middlewareclaudiob2018-01-301-0/+4
| | | | | Document in the guides the new middleware added in #31162 [ci skip]
* Merge pull request #31242 from fgo/patch-22Rafael França2017-11-271-2/+2
|\ | | | | Update Rails on Rack guide [ci skip]
| * Update Rails on Rack guide [ci skip]Francis Go2017-11-271-2/+2
| |
* | Update the middleware list with CSP [ci skip]Prathamesh Sonpatki2017-11-271-0/+1
|/
* Update Rails on Rack guide [ci skip]Yoshiyuki Hirano2017-08-211-1/+1
|
* Use ssl in guide and comment [ci skip]Yoshiyuki Hirano2017-08-191-1/+1
|
* Update 'Rails on Rack' guide [ci skip]Mike Gunderloy2017-05-201-6/+11
| | | | | | * Adjust middlewares list to match current defaults * application.routes runs on application object, not Rails * Add explanation of Sprockets::Rails::QuietAssets
* Remove link to rack.github.ioJon Moss2017-04-101-2/+0
| | | | | | | We mention the "resources" section of the guide in the next paragraph, and the link is listed there. IMHO we shouldn't list it twice. [ci skip]
* Small grammar fixesJon Moss2017-04-101-3/+6
| | | | [ci skip]
* 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.