aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/command_line.md
Commit message (Collapse)AuthorAgeFilesLines
* Revert "removing Rack::Runtime from the default stack."Aaron Patterson2015-10-031-1/+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.
* removing Rack::Runtime from the default stack.Aaron Patterson2015-10-021-1/+1
| | | | | | | | | | | | 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-1/+1
| | | | | 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
* [ci skip] Add link to testing guideBrooks Reese2015-08-101-1/+7
|
* update Rails Command Line guide pageGaurav Sharma2015-06-091-2/+2
|
* [ci skip] Fix linked html fileyui-knk2015-04-211-1/+1
|
* Merge pull request #19753 from jonatack/use-ruby-2-2-2Guillermo Iguaran2015-04-131-2/+2
|\ | | | | Upgrade to Ruby 2.2.2
| * Upgrade to Ruby 2.2.2Jon Atack2015-04-141-2/+2
| | | | | | | | and fix the grammar in the ruby_version_check.rb user message.
* | correct the directory which rake notes look by default [ci skip]yuuji.yaginuma2015-04-061-1/+1
|/
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-03-261-1/+1
|\ | | | | | | | | Conflicts: guides/source/4_0_release_notes.md
| * Rails 5 requires 2.2.1. [ci skip]Juanito Fatas2015-03-241-1/+1
| | | | | | | | Follow up of https://github.com/rails/rails/pull/19263.
* | Adds an example of how to access the arguments passed to a custom rake task ↵Mohnish G J2015-03-161-2/+2
|/ | | | [ci skip]
* Section explaining how rails runner accepts code in a ruby file.Waseem Ahmad2015-02-261-0/+6
| | | | [ci skip]
* Remove documentation tasksXavier Noria2015-02-061-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the tasks doc:app, doc:rails, and doc:guides. In our experience applications do not generate APIs using doc:app. Methods may be certainly documented for maintainers, annotated with YARD tags, etc. but that is intended to be read with the source code, not in a separate website. Then, teams also have typically selected topics written down in Markdown files, or in a GitHub wiki... that kind of thing. If a team absolutely needs to generate application documentation for internal purposes, they can still easily write their own task. Regarding doc:rails and doc:guides, we live in 2015. We are used to go to online docs all the time. If you really want access to the API offline RubyGems generates it for every Rails component unless you tell it not to, and you can checkout the Rails source code to read the guides as Markdown, or download them for a Kindle reader. All in all, maintaining this code does not seem to be worthwhile anymore. As a consequence of this, guides (+3 MB uncompressed) won't be distributed with the rails gem anymore. Of course, guides and API are going to be still part of releases, since documentation is maintained alongside code and tests. Also, time permitting, this will allow us to experiment with novel ways to generate documentation in the Rails docs server, since right now we were constrained by being able to generate them in the user's environment.
* - 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 the tmp/sessions folder and its clear taskRobin Dupret2015-01-031-6/+5
| | | | | | | | | | Commit 1aea470 introduced this directory but this was at a time when the default way to store sessions was on the file system under the tmp directory. Let's remove references to it from the documentation as well. [Robin Dupret & yui-knk]
* Updating guides for Rails 5.0 [ci skip]Lucas Caton2015-01-021-6/+6
|
* Update guides regarding the extension changesRobin Dupret2014-12-261-5/+5
| | | | | | | | | | With rails/coffee-rails#61 (and #17241), the `.coffee` extension is favoured over `.js.coffee`. Respectively, with rails/sass-rails#271 `.scss` and `.sass` are favoured over `.css.scss` and `.css.sass`. Let's update the documentation to reflect that. [ci skip]
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* [ci skip] Change three backticks to just oneyui-knk2014-12-171-3/+3
|
* [ci skip] Fix typo in command_line.mdyui-knk2014-11-091-1/+1
|
* [ci skip] Fix line break on command line guideyui-knk2014-11-081-6/+2
|
* [ci skip] modify default host in command line guideyuuji.yaginuma2014-11-071-2/+2
|
* Update `bin/rake about` [ci skip]Arun Agrawal2014-11-051-6/+1
| | | | As we are no more displaying frameworks
* Singular credit_card controller name changed to pluralNiko Kiuru2014-09-141-1/+1
|
* Update docs to reflect that helper stubs are no longer generatedDavid Heinemeier Hansson2014-08-031-4/+0
|
* Remove "profile and benchmark" line from command line guideDave Jachimiak2014-07-171-1/+0
| | | | The profiling and benchmarking commands are no longer built into Rails.
* Update Rails versions [ci skip]Robin Dupret2014-07-071-8/+8
| | | | | | | | | | | | | As discussed in #15304, we need to automate this process but for now, having out-of-date versions is not ideal. Since master targets 4.2.0, let's also update references to the last 4.1 version to 4.2.0. Finally, let's remove mentions to versions when this is not needed. The guides cover the features of the current version anyway. [Juanito Fatas + Robin Dupret]
* Add to guides app and helper objects on command lineMauro George2014-06-191-0/+25
| | | | [ci skip]
* Correct Example output in Rails guides [ci skip]Aditya Kapoor2014-06-071-7/+6
|
* Update all Rails 4.1.0 references in guides to 4.1.1 [ci skip]John Kelly Ferguson2014-05-241-6/+6
|
* Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip]John Kelly Ferguson2014-05-211-1/+1
|
* Merge pull request #15191 from camsong/masterYves Senn2014-05-201-2/+8
|\ | | | | | | | | | | Distinguish rake assets:clobber from rake assets:clean [ci skip]
| * Distinguish rake assets:clobber from rake assets:cleancam song2014-05-201-2/+5
| |
* | Use generated binstubs in guides examples.Josef Šimánek2014-05-201-25/+25
|/ | | | [ci skip]
* Fix spelling and proper nounsSteven Harman2014-04-171-1/+1
| | | | [ci skip]
* Update command line guiderobertomiranda2014-03-171-1/+7
|
* [ci skip] Update list of files extensions in rake notes guiderobertomiranda2014-02-261-1/+1
|
* Remove broken Commmand Line guide linkNate Berkopec2013-11-151-2/+0
| | | [ci skip]
* Added ActionView in rake about [ci skip]Arun Agrawal2013-10-091-5/+6
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-09-281-1/+1
|\
| * EncryptedCookieStore => CookieStore [ci skip]Rashmi Yadav2013-09-131-1/+1
| |
* | Removes redundant into textdouglascalhoun2013-09-211-2/+0
| | | | | | Looks like a remnant sentence fragment from the 3.2 guide.
* | Use the Rails binary when generating taskRafael Mendonça França2013-09-121-2/+2
| | | | | | | | | | | | Copy-edits [ci skip]
* | [ci skip] Documentation on how to create custom rake tasks.Teng Siong Ong2013-09-101-1/+3
|/
* Update Test::Unit to MinitestAlex Altair2013-08-271-1/+1
| | | | | | Previous was misleading; current is more up to date. [ci skip]
* Bump ruby version [ci skip]Anton Cherepanov2013-08-071-3/+3
|
* add the missing middleware in command line guides rake about [ci skip]Rajarshi Das2013-07-231-1/+1
|
* New output for scaffold generate [ci skip]Rashmi Yadav2013-07-171-3/+6
|
* Added Rack::Sendfile in rake about [ci skip]Arun Agrawal2013-07-151-1/+1
|