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
Heya,
Seems that deleting a TranslationVote record deletes it's associated Translation record via
:dependent => :destroy. This seems unexpected, is it intentional?
Thanks!
Euge
The text was updated successfully, but these errors were encountered:
If that's the case, it's a bug. Translation vote belongs to a translation and deleting translation should delete all votes for that translation, not the other way around.
Heya,
Seems that deleting a TranslationVote record deletes it's associated Translation record via
:dependent => :destroy. This seems unexpected, is it intentional?
Thanks!
Euge
Reply to this email directly or view it on GitHub: #24
Cool, I was going to update the model and add a pull request, but it really is just removing the :dependent => destroy from the translation_vote model so I figured you probably don't need a whole pull request for that.
Heya,
Seems that deleting a TranslationVote record deletes it's associated Translation record via
:dependent => :destroy. This seems unexpected, is it intentional?
Thanks!
Euge
The text was updated successfully, but these errors were encountered: