instance method
identify_without_saving
Ruby on Rails 8.1.2
Since v6.1.7.10Signature
identify_without_saving()
No documentation comment.
Source
# File activestorage/app/models/active_storage/blob/identifiable.rb, line 10
def identify_without_saving
unless identified?
self.content_type = identify_content_type
self.identified = true
end
end
Defined in activestorage/app/models/active_storage/blob/identifiable.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob::Identifiable