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
Issue with Version.method_defined? :object_changes #74
Comments
Funnily enough looking into I'm running out the door now but I'll fix this up later on when I get back. I'll either go with your suggestion or |
Yes, it's strange. I have also this issue in my development environment but 'with-changes' feature works fine.
@vkhater, 'with-changes' feature work for you? I agree that |
@edtsech, my guess to
|
Added pull request #75, hope it closes this issue. |
…trail into edtsech-74_method_defined * '74_method_defined' of https://github.com/edtsech/paper_trail: #74: Changed method_defined? to column_names.include? & Fix test for case without object_changes column
Thanks to @edstech's pull request, this should be fixed in v2.2.9. |
Thank you for report! |
Hi,
In development mode
Version.method_defined? :object_changes
always seems to be returningfalse
. Can we useVersion.column_names.include?("object_changes")
instead? Something I am missing here?BTW. Great plugin. Appreciate the work you have put in to it.
The text was updated successfully, but these errors were encountered: