app/models/unidom/party/person.rb in unidom-party-0.6 vs app/models/unidom/party/person.rb in unidom-party-0.7

- old
+ new

@@ -2,13 +2,13 @@ class Unidom::Party::Person < ActiveRecord::Base self.table_name = 'unidom_people' + include Unidom::Common::Concerns::ModelExtension + validates :name, presence: true, length: { in: 2..self.columns_hash['name'].limit } has_many :source_party_relations, class_name: 'Unidom::Party::PartyRelation', as: :target_party has_many :target_party_relations, class_name: 'Unidom::Party::PartyRelation', as: :source_party - - include Unidom::Common::Concerns::ModelExtension end