Well I am new to Rails and I’m looking to find out how to
automatically fill a text box with a randomly generated password. I
can generate and display the password just fine but I cannot find a
way to have the page load with the password already in the text field.
Well I am new to Rails and I’m looking to find out how to
automatically fill a text box with a randomly generated password. I
can generate and display the password just fine but I cannot find a
way to have the page load with the password already in the text field.
You can set it in the controller when you make a new instance of the
object: