instance method
image
Ruby on Rails 7.0.10
Since v5.2.8.1Signature
image()
Returns the blob’s attached preview image.
Source
# File activestorage/app/models/active_storage/preview.rb, line 56
def image
blob.preview_image
end
Defined in activestorage/app/models/active_storage/preview.rb line 56
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Preview