Advanced Search with Textacular
Textacular exposes full text search capabilities from PostgreSQL, extending ActiveRecord with scopes making search easy and fun!
We wanted an advanced search, but that should also work as autocomplete.
So we end up using the gem
textacular and the PostgreSql
tsquery with the
:* for prefixed searches
Game.advanced_search(title: 'street fi:*')