app/models/customer_vault/person.rb in customer_vault-1.2.9 vs app/models/customer_vault/person.rb in customer_vault-1.2.10

- old
+ new

@@ -2,9 +2,13 @@ class Person < ActiveRecord::Base self.abstract_class = true acts_as_taggable + def tags_on(*args) + super(*args).order(:name) + end + has_many :comments, -> { order("id DESC") }, class_name: "Dorsale::Comment", as: :commentable has_one :address, class_name: 'Dorsale::Address', as: :addressable, inverse_of: :addressable accepts_nested_attributes_for :address, allow_destroy: true def self.list