Following the login example from An Evening with Chicago Boss, after created the helper function "hash_for" by creating this file(src/lib/user_lib.erl), according to the doc, I should be able to get the password hash from the console:
user_lib:hash_for("Bathhouse John", "password").
But what I got is this:
** exception error: undefined function user_lib:hash_for/2
Seems CB didn't know about the helper fucntion I created.
Why?