Merge pull request #12754 from mkllnk/hu-mini-magick-fix

Load MiniMagick before use
This commit is contained in:
Maikel
2024-08-09 15:10:51 +10:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: false
require "mini_magick"
class Enterprise < ApplicationRecord
SELLS = %w(unspecified none own any).freeze
ENTERPRISE_SEARCH_RADIUS = 100

View File

@@ -1,5 +1,7 @@
# frozen_string_literal: true
require "mini_magick"
module Spree
class Image < Asset
has_one_attached :attachment, service: image_service do |attachment|