Method: ActiveStorage::Attachment#record
- Defined in:
- activestorage/app/models/active_storage/attachment.rb
#record ⇒ Object
:method:
Returns the associated record.
25 |
# File 'activestorage/app/models/active_storage/attachment.rb', line 25 belongs_to :record, polymorphic: true, touch: ActiveStorage. |