At long last, a new release of the venerable annotate (aka
annotate_models) gem! Documents your database schema right inside your
ActiveRecord model file.
Too many bug fixes and new options to mention. Highlights include:
-
able to annotate lots of stuff, including models, routes.rb,
fixtures, and FactoryGirl/Machinist/Fabrication/ObjectDaddy factories -
‘rails g annotate_models:install’ to annotate after every ‘rake
db:migrate’ – with a config file
(lib/tasks/auto_annotate_models.rake) to tailor your preferred options
persistently -
-*- SkipSchemaAnnotations directive to skip annotations for a
particular file
And!!! The default position is now back to --before … like before
-
Code, docs, bugs: GitHub - ctran/annotate_models: Annotate Rails classes with schema and routes info
-
Original code by: Dave T. – Pragmatic Programmers, LLC
http://agilewebdevelopment.com/plugins/annotate_models -
Now maintained by: Alex C. http://alexch.github.com
[email protected]
and Cuong T. http://github.com/ctran [email protected]