Phonebook app using rails and postgres