Forum: Rails deployment How to generate password automatically using authlogic

65f3f8f9e49328855297ad1590461acf?d=identicon&s=25 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
65f3f8f9e49328855297ad1590461acf?d=identicon&s=25 Thriving K. (thriving)
on 2009-09-24 04:32
Sorry, i have posted on the wrong group.
This topic is locked and can not be replied to.