The new login generator i released yesterday should supports this.
If password and password_confirmation are empty strings it will reset
the password to its previous state when updating the record.
On Apr 10, 2005 8:51 AM, Colin Ramsay
<colinramsay-BFpX1XrDWuBdtzWjJqcUOrVCufUGDwFn@public.gmane.org>
wrote:> I''ve started setting up the Login Generator, but have extended my
user
> to include details such as First Name, Surname, etc. I''d like to
be able
> to edit these details while keeping the user''s password the same,
but my
> update action keeps telling me that "password_confirmation
can''t be
> empty". I''m keeping this brief in the hope someone recognises
this
> issue, but I can give more detail if necessary.
>
> Any help would be appreciated.
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Tobi
http://www.snowdevil.ca - Snowboards that don''t suck
http://www.hieraki.org - Open source book authoring
http://blog.leetsoft.com - Technical weblog