Casecommons / pg_search pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search