Closed kdiogenes closed 6 years ago
I forgot to say, I'm using activerecord-5.1.0.rc2
Yes, the whole save to LandingPageForm and all its nested records should be rolled back.
We haven't tested ActiveType against ActiveRecord 5.1 yet.
Does this behavior occur with activerecord 5.1.1?
I will try to update my application ASAP and give a feedback.
Sorry for the long time, btw I can't reproduce the bug anymore in ActiveRecord 5.1.4, so I'm closing this, thanks!
Giving this class:
And this Event class:
When I call save in an instance of Event::LandingPageForm, only the event is rolled back. The expected behavior is to have everything rolled back, right?