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
{{ message }}
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
It would be very interesting to have relations of versioned models. When modifications include id of an object, then it can be modified later, so it fails when we are recording changes to associations. The simplest way would be to define which method to call on associated object to record changes, for example: modifications would not look like
:post_id => 5
but
:post_name => "Test"
The more complicated way would be to record version of post and then revert to it. This requires keeping track of every changes, so the first way is better.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It would be very interesting to have relations of versioned models. When modifications include id of an object, then it can be modified later, so it fails when we are recording changes to associations. The simplest way would be to define which method to call on associated object to record changes, for example: modifications would not look like
:post_id => 5
but
:post_name => "Test"
The more complicated way would be to record version of
post
and then revert to it. This requires keeping track of every changes, so the first way is better.The text was updated successfully, but these errors were encountered: