Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch taxons individually after product update #109

Merged
merged 1 commit into from
May 18, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented May 16, 2024

The Solidus implementation did not trigger touch on taxons, but updated the updated_at timestamp in an update_all.

Since we want to invalidate ingredient spree taxons cache as well we need to use touch here and use the after_touch callback of Spree::Taxon.

The Solidus implementation did not trigger `touch` on taxons, but
updated the `updated_at` timestamp in an `update_all`.

Since we want to invalidate ingredient spree taxons cache as well
we need to use `touch` here and use the `after_touch` callback of
`Spree::Taxon`.
@tvdeyen tvdeyen merged commit 7f9888f into AlchemyCMS:main May 18, 2024
32 checks passed
@tvdeyen tvdeyen deleted the touch-taxons branch May 18, 2024 20:38
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.

2 participants