Module: ZombieRecord::Restorable::WithDeletedAssociationsWrapper

Defined in:
lib/zombie_record/restorable.rb

Instance Method Summary collapse

Instance Method Details

#recordsObject


156
157
158
# File 'lib/zombie_record/restorable.rb', line 156

def records
  super.map(&:with_deleted_associations)
end

#to_aObject


152
153
154
# File 'lib/zombie_record/restorable.rb', line 152

def to_a
  super.map(&:with_deleted_associations)
end