RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: enclis
bye rails console
I'm using this to practice
I am new also to rails. Is there a way to generate a unique token with a key (like the user id), which would ensure its uniqueness, which would prevent you from having to check if it already exist in the user table.