You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the issue is that you're updating a Modifier and that's not a model that has counter_culture on it, so no callbacks are fired. Not totally sure the best way to solve this, but it likely involves moving the counter cache call to Modifier somehow since that's the model you're updating.
It only increments and never decrements, but when I run the command:
Modifier.counter_culture_fix_counts(column_name: :modifiers_count)
fix the counts, what could I be doing wrong?
The text was updated successfully, but these errors were encountered: