check if any value in array starts with rails code example Example: ruby array has element >> ['Cat', 'Dog', 'Bird'].include? 'Dog' => true