I put:
@title = “Sign up”
@user.password.clear
@user.password_confirmation.clear
render “new”
Regards.
http://kiranatama.com
I put:
@title = “Sign up”
@user.password.clear
@user.password_confirmation.clear
render “new”
Regards.
http://kiranatama.com
I might not be understanding the full issue, but you could just set the
strings to blank. I say I might not understand the issue because I
assume @user = User.new, and the password attribs are blank by default?
@title = “Sign up”
@user.password = “”
@user.password_confirmation = “”
render “new”
Brian
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs