Correspondência de valores de matriz no PostgreSQL com ActiveRecord

No meu aplicativo Rails 4, tenho o objetivo de ver todos os contatos, em que campovisible_to na tabela de contatos igual a 1. Meuvisible_to é:integer, array: true.

No entanto, recebo a seguinte exceção:

PG::UndefinedFunction: ERROR: operator does not exist: integer[] = integer LINE 1: ....* FROM "contacts" WHERE "contacts"."visible_to" IN (1) OR... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.: SELECT "contacts".* FROM "contacts" WHERE "contacts"."visible_to" IN (1) ORDER BY created_at DESC

Procurei respostas e, até onde vejo, há um problema com um tipo devisible_to. No entanto, não consegui encontrar a solução. Eu também tentei me beneficiar das dicas, mas em vão.

Minha migração:

class AddVisibleToToContacts < ActiveRecord::Migration
    def change
      add_column :contacts, :visible_to, :integer, array: true, default: [], using: 'gin'     
    end 
end

Variável relevante do Controller:

@contacts_all_user_sorted = Contact.all.where(visible_to: [1]).order("created_at DESC")

questionAnswers(2)

yourAnswerToTheQuestion