Re: implementing password confirmation

Sven Schwyn
Thu, 17 Jan 2008 20:48:32 -0000

> <label
for="customer_password">Password
> <%= password_field ''customer'',
''password'' %>
>
> Confirm
Password
> <%= password_field ''password_confirmation'',
'''' %>

The second password_field looks bogus, check out the example at:
http://www.railsapi.org/validates_confirmation_of
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org