Fix Rubocop linting issues

This commit is contained in:
CactusPuppy 2021-03-31 21:22:28 -07:00
parent a49f5c7f72
commit 66c2728998
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
4 changed files with 16 additions and 18 deletions

View file

@ -391,7 +391,7 @@ class User < ApplicationRecord
def mailbluster_update_email
# FIXME: May fail if multiple saves occur in one commit
MailblusterEditLeadJob.perform_later(self, old_email: self.saved_changes['email'][0])
MailblusterEditLeadJob.perform_later(self, old_email: saved_changes['email'][0])
end
def touch_events