app/models/customer_vault/person.rb in customer_vault-1.2.0 vs app/models/customer_vault/person.rb in customer_vault-1.2.1

- old
+ new

@@ -1,8 +1,9 @@ module CustomerVault class Person < ActiveRecord::Base self.abstract_class = true - + + has_many :comments, class_name: "Dorsale::Comment", as: :commentable has_one :address, class_name: 'Dorsale::Address', as: :addressable accepts_nested_attributes_for :address, allow_destroy: true def self.list individuals = Individual.all