Forum: Rails deployment How to generate password automatically using authlogic

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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.