Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Calling `set[association]` twice nullifies relationship #5315
I have an issue where calling a HasOne setter twice is removing the relationship. Calling it repeatedly switches the relationship on and off.
I have been pairing this with transactions and on subsequent calls my results are different.
Is this by design? It feels like a bug, as I would expect multiple sets to not change the relationships at all.