app/models/individual.rb in artfully_ose-1.2.0.pre.23 vs app/models/individual.rb in artfully_ose-1.2.0.pre.24

- old
+ new

@@ -1,7 +1,9 @@ class Individual < Person + after_destroy { |record| Delayed::Job.enqueue(CleanupSuggestedHouseholdsJob.new(record.id), :queue => :suggested_households) } + def to_s if first_name.present? || last_name.present? [salutation, first_name, middle_name, last_name, suffix].reject(&:blank?).join(" ") elsif email.present? email.to_s @@ -13,6 +15,6 @@ end def naming_details_available? first_name.present? || last_name.present? || email.present? end -end \ No newline at end of file +end