User app error handling upgrades
This commit is contained in:
@@ -22,6 +22,8 @@ class User
|
||||
|
||||
validates_uniqueness_of :email
|
||||
before_save :ensure_authentication_token
|
||||
|
||||
has_many :error_logs
|
||||
|
||||
view :by_authentication_token, key: :authentication_token
|
||||
view :by_email, key: :email
|
||||
|
||||
Reference in New Issue
Block a user