mirror of
https://github.com/discourse/discourse.git
synced 2025-01-21 04:58:30 +08:00
06084fb8be
On category create an exception will be thrown on this job because the save transaction hasn't completed yet and the job cannot find the category id. To prevent this we can use the rails 6 `after_save_commit` hook that will fire after the category save transaction has finished for both update and create actions. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |