Hello friends,
I am using
"validates_presence_of     :password,                   :if =>
:password_required?"
for password validation but at the time of updating a profile i don't want
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 records.

Any good solutions?

regards
Abhishek shukla

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
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