Skip to content
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

Docs: Do not recommend initializer #557

Merged
merged 1 commit into from Jun 29, 2015
Merged

Conversation

jaredbeck
Copy link
Member

An alternative to #492

@batter @TobiasBales

@jaredbeck jaredbeck added this to the 4.0.0 milestone Jun 29, 2015
@jaredbeck jaredbeck changed the title Do not recommend initializer Docs: Do not recommend initializer Jun 29, 2015
# app/models/paper_trail/version.rb
module PaperTrail
class Version < ActiveRecord::Base
include VersionConcern
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to be explicit here and have this line read include PaperTrail::VersionConcern just to make sure there is no confusion as to where that module comes from.

An alternative to #492

[ci skip]
@jaredbeck jaredbeck force-pushed the do_not_recommend_initializer branch from 076f981 to e472b7b Compare June 29, 2015 22:39
@jaredbeck
Copy link
Member Author

Thanks Ben, I made the changes you recommended.

jaredbeck added a commit that referenced this pull request Jun 29, 2015
@jaredbeck jaredbeck merged commit 491b15f into master Jun 29, 2015
@jaredbeck jaredbeck deleted the do_not_recommend_initializer branch June 29, 2015 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants