Commit 707098a
Fix counter_cache command argument order in examples (#8196)
The model argument (Comments) should come as the positional argument
since it's the table with the CounterCache behavior, and the association
(Articles) should be the --assoc option value.
Closes #8195
Co-authored-by: Jasper Smet <josbeir@users.noreply.github.com>1 parent 8bccfa1 commit 707098a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments