Remove Commas from String

You'll probably want to get the data into an array and add each item then. Try this:

emails = "omar@roflsoftware.com, aleena@aleenazworld.com, bleh@bleh.com, feemqa@gmail.com"

email_arr = emails.split(", ")

email_arr.each do | email |
   save_email_to_database(email) #Dummy method, replace with something real
end