instance method owner_destroyed?

Ruby on Rails 7.0.10

Since v6.1.7.10 Private

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

owner_destroyed?(owner, ensuring_owner_was_method)

No documentation comment.

Parameters

owner req
ensuring_owner_was_method req
Source
# File activerecord/lib/active_record/destroy_association_async_job.rb, line 32
      def owner_destroyed?(owner, ensuring_owner_was_method)
        !owner || (ensuring_owner_was_method && owner.public_send(ensuring_owner_was_method))
      end

Defined in activerecord/lib/active_record/destroy_association_async_job.rb line 32 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::DestroyAssociationAsyncJob

Type at least 2 characters to search.

↑↓ navigate · open · esc close