Sha256: a98f8da480ccf58410264121bfc5caf8138dce15c660ec006a45c18df8c165d6
Contents?: true
Size: 480 Bytes
Versions: 66
Compression:
Stored size: 480 Bytes
Contents
# Ensure that Spree.user_class includes the UserMethods concern # Previously these methods were injected automatically onto the class, which we # are still doing for compatability, but with a warning. Spree::Core::Engine.config.to_prepare do if Spree.user_class && !Spree.user_class.included_modules.include?(Spree::UserMethods) ActiveSupport::Deprecation.warn "#{Spree.user_class} must include Spree::UserMethods" Spree.user_class.include Spree::UserMethods end end
Version data entries
66 entries across 66 versions & 3 rubygems