Migration to id to the appointments table. Undefined method customer.name in the index view for appointments. Moving on to tech blog.