I have a confirm password field i.e. <%= password_field "user", "passwordConfirm", :maxlength => "25" %> but I only have a password field and not passwordConfirm field in the DB. Am I not suppose to use the form helper for this field or it their another way of doing this? For bonus points. I want to know which page on my website the user is before they land on the sign-up page. How do I find that out on the sign-up page? Thanks my friends, John :-)
> <%= password_field "user", "passwordConfirm", :maxlength => "25" %>I think it''s looking for password_confirm. In your model, you should also be sure to have: validates_confirmation_of :password Duane Johnson (canadaduane)
works perfectly thanks On 24-May-05, at 10:12 PM, Duane Johnson wrote:>> <%= password_field "user", "passwordConfirm", :maxlength => "25" %> >> > > I think it''s looking for password_confirm. > > In your model, you should also be sure to have: > > validates_confirmation_of :password > > Duane Johnson > (canadaduane) > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >