File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ and pairing with smart people at Hashrocket.
99
1010For a steady stream of TILs, [ sign up for my newsletter] ( https://tinyletter.com/jbranchaud ) .
1111
12- _ 882 TILs and counting..._
12+ _ 883 TILs and counting..._
1313
1414---
1515
@@ -560,6 +560,7 @@ _882 TILs and counting..._
560560- [ Truncate Almost All Tables] ( rails/truncate-almost-all-tables.md )
561561- [ Update Column Versus Update Attribute] ( rails/update-column-versus-update-attribute.md )
562562- [ Where Am I In The Partial Iteration?] ( rails/where-am-i-in-the-partial-iteration.md )
563+ - [ Wipe Out All Precompiled Assets] ( rails/wipe-out-all-precompiled-assets.md )
563564- [ Write Safer Where Clauses With Placeholders] ( rails/write-safer-where-clauses-with-placeholders.md )
564565
565566### React
Original file line number Diff line number Diff line change 1+ # Wipe Out All Precompiled Assets
2+
3+ You can clean up precompiled assets using:
4+
5+ ``` bash
6+ $ rails assets:clean
7+ ```
8+
9+ This command is built to be safe for situations like rolling deploys. Any
10+ assets that are still being used will not be cleaned up.
11+
12+ If you really want to wipe out _ all_ precompiled assets, you should _ clobber_
13+ them:
14+
15+ ``` bash
16+ $ rails assets:clobber
17+ ```
18+
19+ [ source] ( https://edgeguides.rubyonrails.org/command_line.html#rails-assets )
You can’t perform that action at this time.
0 commit comments