Method: ActiveStorage::Attachment#record

Defined in:
activestorage/app/models/active_storage/attachment.rb

#recordObject

:method:

Returns the associated record.



25
# File 'activestorage/app/models/active_storage/attachment.rb', line 25

belongs_to :record, polymorphic: true, touch: ActiveStorage.touch_attachment_records