-
Notifications
You must be signed in to change notification settings - Fork 899
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
Overriding the created at date on version create #374
Comments
|
I'm sure I could do it manually, creating individual Versions. Perhaps that is best. I was just wondering if, when saving a versioned class, if the Version can adopt the created_at value. |
I really meant using the update_at value of the versioned class for the Version created_at. |
As of now, versions get built using callbacks, If you want to take a crack at it, be my guest. You would need to switch the version generation for |
I'll take a look. |
Submitted a pull request. |
See #375 |
|
Is there any way to override the created at date for a version? I am importing data from a legacy system and trying to recreate a change history in paper_trail.
Sorry if I missed this. I've searched and not found it.
I'll fork and give it a whirl if there is no way to do it.
The text was updated successfully, but these errors were encountered: