fix: remove rubocop rule (#8985)

* fix: remove rubocop rule

* chore: remove ignore comment

* chore: remove ignore comment
This commit is contained in:
Shivam Mishra
2024-02-22 13:36:15 +05:30
committed by GitHub
parent a5e9cd94e1
commit 106319406b
4 changed files with 0 additions and 25 deletions

View File

@@ -157,9 +157,7 @@ class User < ApplicationRecord
end
def self.from_email(email)
# rubocop:disable UseFromEmail,Migration/DepartmentName
find_by(email: email.downcase)
# rubocop:enable UseFromEmail,Migration/DepartmentName
end
private