Forum: Rails deployment How to generate password automatically using authlogic

Posted by Thriving K. (thriving)
on 2009-09-23 10:13
I have problem , i want to generate password automatically
where can i manipulate :password and :confirm_password in action create


  def create
    @user = User.new(params[:user])
     if @user.save
      flash[:notice] = "Registration successful."
      redirect_to root_url
    else
      render :action => 'new'
    end
  end
Posted by Thriving K. (thriving)
on 2009-09-24 04:32
Sorry, i have posted on the wrong group.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.