forked from Annotate

Adds comment summarizing the current schema to ...
  • ActiveRecord models
  • Fixture files
  • Tests and Specs
  • Object Daddy exemplars
  • Machinist blueprints
  • Fabrication fabricators
  • factory_bot factories
  • routes.rb file
rails utility 858 0


May 14, 2021

Copy and paste this code into your terminal

When new migrations are executed, annotate will add schema information to your files.
Additional information:

DISCLAIMER: You should always review templates before running them. By running the template, you are agreeing to the terms of use.

The contents of this script as show. Any updates will be reflected in the below code and the snippet.

gem "annotate", group: :development
run "bundle install"
generate "annotate:install"

A place where you can thank the author, post problems, give constructive feedback, etc. Be nice!