diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-05 15:18:42 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-05 15:18:42 +0200 |
commit | 97aa328bb1e9d43bba1bcae2c8ddbaed397770c0 (patch) | |
tree | fdb57ba72051fd5f4a97dd3830ac0f8055646c13 /lib/active_vault | |
parent | 3a92cbf6b358c983f3b1b9f628fb441e051a9984 (diff) | |
download | rails-97aa328bb1e9d43bba1bcae2c8ddbaed397770c0.tar.gz rails-97aa328bb1e9d43bba1bcae2c8ddbaed397770c0.tar.bz2 rails-97aa328bb1e9d43bba1bcae2c8ddbaed397770c0.zip |
Assign plain metadata for now
Diffstat (limited to 'lib/active_vault')
-rw-r--r-- | lib/active_vault/blob.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/active_vault/blob.rb b/lib/active_vault/blob.rb index d090d6dad2..e2a6582e9f 100644 --- a/lib/active_vault/blob.rb +++ b/lib/active_vault/blob.rb @@ -15,6 +15,7 @@ class ActiveVault::Blob < ActiveRecord::Base new.tap do |blob| blob.filename = filename blob.content_type = content_type + blob.metadata = metadata blob.upload io end |