-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Association versioning with ignore_log_data and at(version: ) doesn't return expected results #214
Comments
Hey, could you please provide more details? Ideally, the records |
I'm trying to retrieve the Initially, I have a setup where
ParentModel -
ParentModel -
I'm trying to retrieve the the value of
I've also tried:
|
Thanks for the details! Will take a look ASAP (or will try to find someone to fix this 🙂) |
I am not sure this is the exact same problem, however there is something wrong withe latest version. Let say i have this
when i read parent.at(version: 1).child it will return child v1
then parent.at(version: 1).child will return child v2 However, after i update parent again, leading to
now, reading parent.at(version: 1).child will correctly return child v1 that was there at the creation of parent v1. |
Under the hood, we use That's why I need |
Using Logidze 1.2.2
Associations versioning using
at(version: ##)
and doesn't return the expected records.Model.find(#).at(version: #).associated_model.with_log_data
The text was updated successfully, but these errors were encountered: