Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Papertrail initializer option to switch PaperTrail::Reifiers::HasOne::FoundMoreThanOne for a warning instead #1090
After trying to upgrade from v8.1.2 to v9+. I started recieving this error
We could change this to something like
if PaperTrail.config.associations_just_warn_enabled # do warning versions.first else # do raise end
I'm hesitant to add any more complexity related to association tracking. I'd like to see it have a dedicated maintainer and/or be extracted into a separate gem first. But, you're going to help with that, right?
That said, I don't want to stop anyone from upgrading, so I guess we should add this configuration option. I'd call it
This should also be added to the list of known issues in the readme.