instance method
process
Ruby on Rails 7.1.6
Since v5.2.8.1 PrivateSignature
process()
No documentation comment.
Source
# File activestorage/app/models/active_storage/preview.rb, line 103
def process
previewer.preview(service_name: blob.service_name) do |attachable|
ActiveRecord::Base.connected_to(role: ActiveRecord.writing_role) do
image.attach(attachable)
end
end
end
Defined in activestorage/app/models/active_storage/preview.rb line 103
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Preview