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
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class UserAppLog
|
||||
include SimplyStored::Couch
|
||||
belongs_to :user
|
||||
property :params
|
||||
end
|
||||
Reference in New Issue
Block a user