lib/generators/ckeditor/templates/base/shrine/initializer.rb in ckeditor-5.1.1 vs lib/generators/ckeditor/templates/base/shrine/initializer.rb in ckeditor-5.1.2

- old
+ new

@@ -6,19 +6,18 @@ # Choose your favorite image processor require 'image_processing/mini_magick' SHRINE_PICTURE_PROCESSOR = ImageProcessing::MiniMagick -# require 'image_processing/vips' -# SHRINE_PICTURE_PROCESSOR = ImageProcessing::Vips - Shrine.storages = { cache: Shrine::Storage::FileSystem.new('public', prefix: 'uploads/cache'), store: Shrine::Storage::FileSystem.new('public', prefix: 'system') } -Shrine.plugin :determine_mime_type Shrine.plugin :mongoid +Shrine.plugin :activerecord + +Shrine.plugin :determine_mime_type Shrine.plugin :instrumentation Shrine.plugin :validation_helpers Shrine.plugin :processing Shrine.plugin :versions