lib/active_archive/base.rb in active_archive-4.0.4 vs lib/active_archive/base.rb in active_archive-4.0.5
- old
+ new
@@ -108,10 +108,10 @@
dependent_results
end
def unarchival
[
- -> (validate) { unarchive_destroyed_dependent_records(validate) },
+ ->(validate) { unarchive_destroyed_dependent_records(validate) },
lambda do |validate|
run_callbacks(:unarchive) do
set_archived_at(nil, validate)
return(true)
end