1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add requires for mimemagic

This dependency was recently added, but not the require. This looked like it worked because sometimes marcel does the require for us.
This commit is contained in:
David Genord II 2020-09-25 15:00:04 -04:00 committed by GitHub
parent 397bfb0e83
commit f4aa54d487
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,7 @@
# frozen_string_literal: true
require "mimemagic"
module ActiveStorage::Blob::Representable
extend ActiveSupport::Concern

View file

@ -1,5 +1,7 @@
# frozen_string_literal: true
require "mimemagic"
# A set of transformations that can be applied to a blob to create a variant. This class is exposed via
# the ActiveStorage::Blob#variant method and should rarely be used directly.
#