User app error handling upgrades

This commit is contained in:
2014-08-25 16:56:30 +02:00
parent 7a16650129
commit 1eeda440ab
11 changed files with 86 additions and 6 deletions
+2
View File
@@ -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