Columns

Annotates activerecord models using db/schema.rb.

This is an alternative to the annotate gem for non rails apps.

Installation

Add this line to your application's Gemfile:

gem 'columns'

And then execute:

$ bundle

Or install it yourself as:

$ gem install columns

Usage

$ cd your_project

Once you have generate a db/schema.rb, just type

$ columns

to annotate your models.

Note that models must to reside in app/models.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/columns/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request