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

Add schema annotations to models #127

Merged
merged 3 commits into from Mar 20, 2019
Merged

Add schema annotations to models #127

merged 3 commits into from Mar 20, 2019

Conversation

sinclairtarget
Copy link
Contributor

This PR adds a Rake task and some auto-generated comments to the model files.

The annotate gem is a handy tool I've used in the past that automatically annotates your model files with the schema of the backing table for the model.

IMO, this is really handy. Figure it could help, since it seems like people keep forgetting what's in the DB.

Copy link
Collaborator

@SorenSpicknall SorenSpicknall left a comment

Choose a reason for hiding this comment

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

Thanks for this! Merging.

@SorenSpicknall SorenSpicknall merged commit 2b489eb into master Mar 20, 2019
@tkimia tkimia deleted the annotations branch October 22, 2019 02:03
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