class ActiveStorage::Preview

def image

Returns the blob's attached preview image.
def image
  blob.preview_image
end