# File lib/postgres_ext/active_record/relation/predicate_builder/array_handler.rb, line 12 def call_with_feature(attribute, value) engine = attribute.relation.engine column = engine.connection.schema_cache.columns(attribute.relation.name).detect{ |col| col.name.to_s == attribute.name.to_s } if column && column.respond_to?(:array) && column.array attribute.eq(value) else call_without_feature(attribute, value) end end