use contact.customer.name directly;not only for belongs_to but also for has_many