class Shoulda::Matchers::ActiveRecord::HaveDbColumnMatcher
def correct_array?
def correct_array? return true unless @options.key?(:array) if matched_column.array? == @options[:array] true else @missing = "#{model_class} has a db column named #{@column} " @missing << if @options[:primary] 'that is not array, but should be' else 'that is array, but should not be' end false end end