diff options
author | Akihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp> | 2017-07-06 06:58:03 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-07-05 23:58:03 +0200 |
commit | a37cf9548c2772f5b8b7a976e4f90c0ed78a8722 (patch) | |
tree | 843f343e64ba264caee2d24b8d0d80d7b8433419 /app | |
parent | 5e6acf960183aea9440ce0d9e28c86f043e88c54 (diff) |
Explicitly require MIME::Types (#4083)
Diffstat (limited to 'app')
-rw-r--r-- | app/models/media_attachment.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb index 340109ab6..1e8c6d00a 100644 --- a/app/models/media_attachment.rb +++ b/app/models/media_attachment.rb @@ -18,6 +18,8 @@ # file_meta :json # +require 'mime/types' + class MediaAttachment < ApplicationRecord self.inheritance_column = nil |