Flowdock
method

_raise_record_not_destroyed

Importance_0
v6.0.0 - 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 950
    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.