Sha256: b79ef64795136f1a54a0d441fbdc9c3d9ed2c680806c663ddca20917d9a5d2d3
Contents?: true
Size: 854 Bytes
Versions: 48
Compression:
Stored size: 854 Bytes
Contents
# frozen_string_literal: true module Spree module ParanoiaDeprecations def paranoia_destroy Spree::Deprecation.warn <<-WARN.strip_heredoc, caller Calling #destroy (or #paranoia_destroy) on a #{self.class} currently performs a soft-destroy using the paranoia gem. In Solidus 3.0, paranoia will be removed, and this will perform a HARD destroy instead. To continue soft-deleting, use #discard instead. WARN super end def paranoia_delete Spree::Deprecation.warn <<-WARN.strip_heredoc, caller Calling #delete (or #paranoia_delete) on a #{self.class} currently performs a soft-destroy using the paranoia gem. In Solidus 3.0, paranoia will be removed, and this will perform a HARD destroy instead. To continue soft-deleting, use #discard instead. WARN super end end end
Version data entries
48 entries across 48 versions & 2 rubygems