Ruby on Rails Random Password Generator
Submitted by admin on Fri, 09/29/2006 - 00:00Some apps are designed where a user might sign up and be emailed a password. Here is the source code to allow for simple random password generatin.
It can also be used to change a users password if they request a new one due to forgetting the previous one: