ActiveRecord::StatementInvalid: PG::Error: ERROR: function similarity(character varying, unknown) does not exist

I was receiving this error within all environments (Staging and Production on Heroku too) when calling Rails controller action that used the fuzzy_search method.

I had to run: `CREATE EXTENSION pg_trgm;` in a psql shell in all environments for the error to disappear. Seems strange i'd have to do this though.

Running…
Rails 3.2.12
Ruby 1.9.3