For about the 5th time: PLEASE QUOTE WHEN REPLYING!

radhames brito wrote:
> when you have and html form with a password field and some one submits 
> the
> form but there is an error the server sends the form back with its 
> original
> values, so the password field has **** in it, what you usually should do 
> is
> clear it.

So just set that field to nil in the controller, or perhaps in an 
after_validation callback.  There may be other ways...

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to