From f40eb938a6a9abd62c85697f1413161972f2d97d Mon Sep 17 00:00:00 2001 From: braidn Date: Fri, 24 Apr 2015 15:15:19 -0400 Subject: [PATCH] Remove Around Update Filter Let's worry about user's during the create and destroy process. Resubscription in this case will fire whenever the user is touched/updated which can be a little excessive --- app/models/spree/user_decorator.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/spree/user_decorator.rb b/app/models/spree/user_decorator.rb index 7585e17..d23009b 100644 --- a/app/models/spree/user_decorator.rb +++ b/app/models/spree/user_decorator.rb @@ -2,7 +2,6 @@ Spree.user_class.class_eval do after_create :subscribe - around_update :resubscribe after_destroy :unsubscribe after_initialize :assign_subscription_default