Use :array attribute to check for an array field instead of :type