How to Check if a Value Exists in an Array in Ruby | CodeTrail