Docs
This commit is contained in:
parent
15d18d50c2
commit
72225e32ef
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ Shrine.storages = {
|
||||||
}
|
}
|
||||||
|
|
||||||
# See plugin documentation at https://shrinerb.com/docs/plugins/activerecord
|
# 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 :activerecord
|
||||||
Shrine.plugin :instrumentation
|
Shrine.plugin :instrumentation
|
||||||
Shrine.plugin :determine_mime_type, analyzer: :marcel, log_subscriber: nil
|
Shrine.plugin :determine_mime_type, analyzer: :marcel, log_subscriber: nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue