Ruby Ruby Loops Build a Simple Contact List Assigning Hash Values From Methods

Ruby loops - Task 2 of 3 - task one no longer passing

Hi,

It seems task two is similar to task one. However I'm getting an error message saying task one is no longer passing. Can anyone assist?

contact.rb
contact_list = []

contact = {"name" => "", "phone_number" => "" }
    contact["name"] = get_name()
    contact["phone_number"] = phone_number()

1 Answer

Teal Larsen
Teal Larsen
21,066 Points

I have been having this issue as well in a few tasks. I think it is a bug. You should email help@teamtreehouse.com to report it.

Thanks, will do.