Created a record with FactoryBot in a test. This record has 4 associations. All of them created as well, properly. When destroying said record, one of the 4 associations isn’t destroyed despite being configured to be — unless I first reload said record. Feels like a bug. Known?
-
-
Any off the cuff idea why some associations would be destroyed and not others until the instance is reloaded? Autosave required for all model associations to be destroyed in cascade?
-
Nothing stands out from what you've shown me. Is it a through association? Are there other macros involved? It's almost certainly a bug in some weird feature interaction
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.


