Skip to content
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

First version, with partial data #6

Open
mjsommer opened this issue Apr 22, 2014 · 2 comments
Open

First version, with partial data #6

mjsommer opened this issue Apr 22, 2014 · 2 comments

Comments

@mjsommer
Copy link

Jason, I am having an issue with the first version change for each model, where only the PK, FK, and version columns are saved in the version table, and all other data is left blank. In subsequent versions, the entire row is properly saved.

Any ideas here? I have tried multiple ways to "initialize" the models, but have received the same result.

Thanks in advance!
Martin

@jwhitehorn
Copy link
Owner

I remember having to making extensive modifications to save_version to get this to work with Rails 3.1 & 3.2. Perhaps something in Rails 4 is also broken there.

https://github.com/jwhitehorn/acts_as_versioned/blame/master/lib/acts_as_versioned.rb

@mjsommer
Copy link
Author

mjsommer commented Aug 5, 2014

Jason, above was meant to be a pull request. Let me know, if you need it resubmitted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants