This commit is contained in:
Christoph Haas 2021-02-21 19:41:04 +01:00
parent 15d18d50c2
commit 72225e32ef

View file

@ -11,6 +11,8 @@ Shrine.storages = {
}
# See plugin documentation at https://shrinerb.com/docs/plugins/activerecord
# Persist images. Promote from :cache to :store when Screenshot.save is called.
# Delete files if the Screenshot get destroyed.
Shrine.plugin :activerecord
Shrine.plugin :instrumentation
Shrine.plugin :determine_mime_type, analyzer: :marcel, log_subscriber: nil