app/models/individual.rb in artfully_ose-1.2.0 vs app/models/individual.rb in artfully_ose-1.3.0.pre1
- old
+ new
@@ -1,7 +1,9 @@
class Individual < Person
- after_destroy { |record| Delayed::Job.enqueue(CleanupSuggestedHouseholdsJob.new(record.id), :queue => :suggested_households) }
+ after_destroy do |record|
+ Delayed::Job.enqueue(CleanupSuggestedHouseholdsJob.new(record.id), :queue => :suggested_households)
+ end
def to_s
if first_name.present? || last_name.present?
[salutation, first_name, middle_name, last_name, suffix].reject(&:blank?).join(" ")
elsif email.present?