MorningPeak/app/models/contact.rb
Arthur Poulet 2a7f23d2c5 add acts_as_commentable gem
- add acts_as_commentable to gemfile
- update gemfile.lock
- generate migration comment
- update schema
- add acts_as_commentable to client, contact, bill
2015-07-25 21:33:44 +02:00

7 lines
127 B
Ruby

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