 
     return true
 
-  @validatePasswordHash: (password_hash) ->
-    unless password_hash?
+  @validatePasswordHash: (passwordHash) ->
+    unless passwordHash?
       throw new @ValidationError "Password hash must exist"
 
-    unless /\S+/.test password_hash
+    unless /\S+/.test passwordHash
       throw new @ValidationError "Password hash must not be blank"
 
     return true

    return user instanceof User and
      user.username == @username and
      user.email == @email and
      user.password_hash == @password_hash

  #### Validation ####


    User.validateUsername @username

  validatePasswordHash: () ->
    User.validatePasswordHash @passwordHash

  validateEmail: () ->
    User.validateEmail @email
