gilesbowkett/BuscandoElViento — pull request #1 by chaffeqa (2011-11-20 04:12:18+00:00)
Title: Refactoring + model mixin

A bunch of refactors... Some to note:

1) renamed add_index to add_gin_index
2) refactored out a column_naming class... this will probably go in future refactors (see below)
3) added VectorMixins class that provides model support

TODO:
- refactor to be a module to extend AR migration, instead of inheriting (much easier to test + can use inherited methods (index_name, column_name)
- take out indexes section pending this [pull request](https://github.com/rails/rails/pull/3699)