2a7f23d2c5
- add acts_as_commentable to gemfile - update gemfile.lock - generate migration comment - update schema - add acts_as_commentable to client, contact, bill
7 lines
127 B
Ruby
7 lines
127 B
Ruby
class Contact < ActiveRecord::Base
|
|
acts_as_commentable
|
|
belongs_to :client
|
|
|
|
delegate :name, to: :client, prefix: true
|
|
end
|