MorningPeak/app/models/contact.rb
2015-06-17 16:36:35 +02:00

6 lines
105 B
Ruby

class Contact < ActiveRecord::Base
belongs_to :client
delegate :name, to: :client, prefix: true
end