Sha256: c1106ab2a8f9392783631c698a1da0ad34b673c4f33d1e42cd7f285baf916977
Contents?: true
Size: 823 Bytes
Versions: 6
Compression:
Stored size: 823 Bytes
Contents
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
6 entries across 6 versions & 1 rubygems