Check If String Has Substring Ruby