method

dependent

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Attachment
dependent() private

No documentation

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

Hide source
# File activestorage/app/models/active_storage/attachment.rb, line 82
    def dependent
      record.attachment_reflections[name]&.options&.fetch(:dependent, nil)
    end
Register or log in to add new notes.