instance method
touch_attachment_records
Ruby on Rails 7.1.6
Since v7.1.6 Last seen in v7.1.6 PrivateSignature
touch_attachment_records()
No documentation comment.
Source
# File activestorage/app/models/active_storage/blob.rb, line 363
def touch_attachment_records
attachments.includes(:record).each do |attachment|
attachment.touch
end
end
Defined in activestorage/app/models/active_storage/blob.rb line 363
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob