mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix reference
This commit is contained in:
parent
1bdaccc0b8
commit
cfb493a3a3
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ module ActiveStorage
|
|||
end
|
||||
|
||||
def verify_integrity_of(file)
|
||||
unless Digest::MD5.file(file).base64digest == checksum
|
||||
unless Digest::MD5.file(file).base64digest == blob.checksum
|
||||
raise ActiveStorage::IntegrityError
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue