method
owner_destroyed?
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::DestroyAssociationAsyncJob
owner_destroyed?(owner, ensuring_owner_was_method)private
No documentation available.
# File activerecord/lib/active_record/destroy_association_async_job.rb, line 34
def owner_destroyed?(owner, ensuring_owner_was_method)
!owner || (ensuring_owner_was_method && owner.public_send(ensuring_owner_was_method))
end