Finished spec, added FIXME for caveat in email change
This commit is contained in:
parent
efdf1f03df
commit
43911c4a38
1 changed files with 1 additions and 0 deletions
|
|
@ -385,6 +385,7 @@ class User < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def mailbluster_update_email
|
def mailbluster_update_email
|
||||||
|
# FIXME: May fail if multiple saves occur in one commit
|
||||||
MailblusterEditLeadJob.perform_later(self, old_email: email_before_last_save)
|
MailblusterEditLeadJob.perform_later(self, old_email: email_before_last_save)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue