Set up confirm messages for deleting phone numbers and emails
Created migration to create polymorphic relationship between contacts and email addresses
Changed email addresses to belong to a contact and not a person or company
Removed commented out lines in Phone Numbers Controller and updated email addresses controller to use contacts instead of people
Added contact relationship for person and company relating to their email addresses
Cleaned up email view template to change person id to contact id
Added emails to person view spec
Made emails work with companies and people
Fixed problem where contact type wasn't being passed through when creating email address by adding contact_type as a hidden field in form
Added email info to company view spec, failing tests currently because paths don't match for companies
Edited views for companies to include email addresses as well as phone numbers
Removed helper files and associated specs. They were auto generated and did not have any function.
Code cleanup in companies controller
Restricted email addresses and phone numbers to only edit and new routes, not index or show as they're unnecessary
Fixed specs that were broken when I did not allow phone number and email index and show routes