0.0
No commit activity in last 3 years
No release in over 3 years
This is my own re-write of an earlier version https://github.com/ctran/annotate_models when work on it waned. This work started out as an old-style Rails plugin; I am now re-bundling it as a gem-ified plugin.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

annotate_models

This is my own re-write of an earlier version ctran/annoate_models when work on it waned. This work started out as a Rails plugin; I am now re-bundling it as a gem since plugin support for Rails has long been deprecated.

Installation

If you are using Bundler, add this line to your Gemfile:

gem "annotate_models"

Otherwise, run this command:

gem install annotate_models"

Usage

Run this command from the root folder of your Rails application:

rake annotate

For details, run rake -T.

Credit

I first learned to love the functionality of Dave Thomas' annotate_models plugin (you can find a repo for it here). Later, when it became un-maintained and broke, I switched over to ctran/annoate. Then, when work on it waned and broke as well, I decided to write my own as an exercise.

So thanks go out to Pragmatic Dave as well as to the author and contributors of ctran/annotate_models.

Contribution

Feel free to fork or clone this repository.

Workflow

To build the gem, execute these commands:

gem build annotate_models.gemspec
mv annotate_models-*.gem pkg/

To publish the gem, execute this command:

gem push pkg/annotate_models-<version>.gem