-
Notifications
You must be signed in to change notification settings - Fork 39
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
Error reify with has_one: true
#29
Comments
Going to need more details to debug this. What paper trail version are you using? |
I'm using paper_trail outside of Rails. I'm using grape framework. grape version: 1.1.0 Below are the migrations:
Below are the active records:
Below is the initializer for paper_trail:
|
I'm also seeing this. Did you find a solution? Appreciate any pointers 🙏 |
It's probably due to Railtie not loading:
I opted to manually add the associatio: class WidgetVersion < ActiveRecord::Base
include PaperTrail::VersionConcern
has_many :version_associations, class_name: 'PaperTrail::VersionAssociation', foreign_key: :version_id, dependent: :destroy, inverse_of: :widget_version |
Whenever I call
reify
withhas_one: true
, I'm getting below error:The text was updated successfully, but these errors were encountered: