Forum: Ruby on Rails rails Validation on update

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Abhishek shukla (Guest)
on 2008-10-16 17:12
(Received via mailing list)
Hello friends,
I am using
"validates_presence_of     :password,                   :if =>
for password validation but at the time of updating a profile i don't
to use the default validation. So for the same i am calling
validates_presence_of     :password,                   :if =>
:password_required?, :on => :create"

But still the validation is taking place at the time of updating

Any good solutions?

Abhishek shukla
This topic is locked and can not be replied to.