ya i got the solution "update_attribute_with_validation_skipping"
Thanks :) On Thu, Oct 16, 2008 at 7:12 PM, Sniper Abandon < [EMAIL PROTECTED]> wrote: > > Abhishek shukla wrote: > > Hello friends, > > How to avoid or block the default validation at the time of updating > > records? > > > > regards > > Abhishek > > in your validation call pass :on=>:create > validate_presence_of :field ,:on=>:create > -- > 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@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 -~----------~----~----~----~------~----~------~--~---