instance method
metadata
Ruby on Rails edge
Since edgeReturns a Hash of metadata extracted from the associated file. ActiveStorage also stores whether the file has been identified and analyzed:
ActiveStorage::Blob.first.metadata
=> {"identified" => true, "width" => 763, "height" => 588, "analyzed" => true}
Source
# File activestorage/app/models/active_storage/blob.rb, line 197
Defined in activestorage/app/models/active_storage/blob.rb line 197
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Blob