instance method
identify
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
identify()
No documentation comment.
Source
# File activestorage/app/models/active_storage/blob/identifiable.rb, line 4
def identify
unless identified?
update! content_type: identify_content_type, identified: true
update_service_metadata
end
end
Defined in activestorage/app/models/active_storage/blob/identifiable.rb line 4
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob::Identifiable