diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2017-07-01 10:15:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-01 10:15:37 -0400 |
commit | 6189086c011a6ea6076c10d38da406e8f4065ac2 (patch) | |
tree | 9bcba61f54a18f8044644b1758d3d2127a374ce3 /guides | |
parent | 678e23d3b49c9e1920bca8a910b7914198944ccb (diff) | |
parent | 6fbd405a2eb585591bb57de5adae71f890a24af3 (diff) | |
download | rails-6189086c011a6ea6076c10d38da406e8f4065ac2.tar.gz rails-6189086c011a6ea6076c10d38da406e8f4065ac2.tar.bz2 rails-6189086c011a6ea6076c10d38da406e8f4065ac2.zip |
Merge pull request #29534 from y-yagi/clear_screenshots_in_tmp_clear_task
Clear screenshots files in `tmp:clear` task
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/command_line.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md index 3360496c08..9fddbf76b6 100644 --- a/guides/source/command_line.md +++ b/guides/source/command_line.md @@ -262,12 +262,12 @@ $ bin/rails db:migrate == CreateHighScores: migrated (0.0019s) ====================================== ``` -INFO: Let's talk about unit tests. Unit tests are code that tests and makes assertions -about code. In unit testing, we take a little part of code, say a method of a model, -and test its inputs and outputs. Unit tests are your friend. The sooner you make -peace with the fact that your quality of life will drastically increase when you unit -test your code, the better. Seriously. Please visit -[the testing guide](http://guides.rubyonrails.org/testing.html) for an in-depth +INFO: Let's talk about unit tests. Unit tests are code that tests and makes assertions +about code. In unit testing, we take a little part of code, say a method of a model, +and test its inputs and outputs. Unit tests are your friend. The sooner you make +peace with the fact that your quality of life will drastically increase when you unit +test your code, the better. Seriously. Please visit +[the testing guide](http://guides.rubyonrails.org/testing.html) for an in-depth look at unit testing. Let's see the interface Rails created for us. @@ -533,7 +533,8 @@ The `tmp:` namespaced tasks will help you clear and create the `Rails.root/tmp` * `rails tmp:cache:clear` clears `tmp/cache`. * `rails tmp:sockets:clear` clears `tmp/sockets`. -* `rails tmp:clear` clears all cache and sockets files. +* `rails tmp:screenshots:clear` clears `tmp/screenshots`. +* `rails tmp:clear` clears all cache, sockets and screenshot files. * `rails tmp:create` creates tmp directories for cache, sockets and pids. ### Miscellaneous |