Wednesday, July 13, 2011

Buscando El Viento: PostgreSQL Search Migrations Gem

buscando el viento is a search migrations gem for PostgreSQL and Rails 3. It enables full-text searching by automating the process of creating appropriate migrations, and is largely based on Xavier Shay's PeepCode video on Postgres.

I created this because I needed it. PostgreSQL is powerful but obtuse, in my opinion.

This gem makes some blithely cavalier assumptions about indexing and search vectors, so please use with caution. PostgreSQL boffins, please do contribute to this; it currently lacks much-needed setweight() support, and comes from a guy who's pretty new to Postgres.

gem install buscando_el_viento