method

_raise_record_not_destroyed

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveRecord::Persistence
_raise_record_not_destroyed() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/persistence.rb, line 597
    def _raise_record_not_destroyed
      @_association_destroy_exception ||= nil
      raise @_association_destroy_exception || RecordNotDestroyed.new("Failed to destroy the record", self)
    ensure
      @_association_destroy_exception = nil
    end
Register or log in to add new notes.