-
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
Support polymorphic has many #10
Support polymorphic has many #10
Conversation
|
If I understand this PR correctly, it requires the database to contain a new column, - s.add_development_dependency "paper_trail-association_tracking", "< 2"
+ s.add_development_dependency "paper_trail-association_tracking", "< 1.1" So, perhaps this release should have been 2.0? Going forward, what PT-AT constraint would you like to see in the PT gemspec? The discussion regarding said constraint could happen here, or at paper-trail-gem/paper_trail#1174 if you prefer. |
Sorry, yeah I will resolve this and go to |
From now on I will be following the semantic versioning more closely with this. However if you desire to restrict the PT gemspec further, you could possibly switch to restricting PT-AT by minor version number and I can submit a PR whenever PT-AT minor versions are changed. |
I'd prefer you didn't yank it, because the PT build depends on it right now. I think we're only supposed to use yank in really bad situations like discovering malware.
Cool. Yeah, if you're going to follow SemVer more closely, then I'm fine with a constraint like |
v2.0.0 is now released. |
Thanks, Weston! The current constraint in PT master is: add_development_dependency "paper_trail-association_tracking", "~> 1.1.0" Please open a PR if you would like that to change, thanks! |
Hi again, I have been doing some more work on polymorphic associations
belongs_to
polymorphic association (I didn't do at last PR, my bad)has_many
association (with test case)😉