Custom Ordering of Tag Search Results using Trigrams, ActiveRecord and Postgresql 2022-12-05 This is a demo of ordering search results in ActiveRecord using the ActsAsTaggable gem combined with a ‘fuzzy’ search via Postgres' built-in trigram support.