Skip to content

Fix counter_cache command argument order in examples#8196

Merged
dereuromark merged 2 commits into5.xfrom
fix/counter-cache-command-args-order
Jan 29, 2026
Merged

Fix counter_cache command argument order in examples#8196
dereuromark merged 2 commits into5.xfrom
fix/counter-cache-command-args-order

Conversation

@dereuromark
Copy link
Member

Summary

  • Fix the positional model argument and --assoc option being swapped in the counter_cache command examples
  • Comments (the table with CounterCache behavior) should be the positional argument, Articles the --assoc value

Closes #8195

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
@dereuromark dereuromark requested a review from josbeir January 29, 2026 07:49
@dereuromark dereuromark merged commit 707098a into 5.x Jan 29, 2026
5 checks passed
@dereuromark dereuromark deleted the fix/counter-cache-command-args-order branch January 29, 2026 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Command - counter_cache - wrong order of tables

2 participants