-
Notifications
You must be signed in to change notification settings - Fork 130
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
Enable history tracking on create and destroy by default #211
Conversation
1 similar comment
5d8070b
to
5999f6d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments, otherwise looks great. Amend?
CHANGELOG.md
Outdated
|
||
* [#208](https://github.com/mongoid/mongoid-history/pull/208): Fix: history tracks fields declared after `track_history` - [@mikwat](https://github.com/mikwat). | ||
* [#211](https://github.com/mongoid/mongoid-history/pull/211): BREAKING CHANGE - Enable tracking create/destroy by default - [@jagdeepsingh](https://github.com/jagdeepsingh). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not be dramatic :) It's not a breaking change, it's just a different behavior. I would just remove the BREAKING CHANGE part and call it a day.
spec/unit/trackable_spec.rb
Outdated
@@ -613,6 +615,7 @@ def self.name | |||
let(:m) { MyModel.create!(foo: 'bar') } | |||
|
|||
it 'should create history' do | |||
m # Created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead use let!
, it will create m
.
@jagdeepsingh please handle |
5999f6d
to
ac108d4
Compare
2 similar comments
@dblock done. |
@dblock please merge |
👍 |
Bump next version to 0.8.0
This is a replacement for #207.