Have you tried: @xxx.attributes = params[:blah]
if @xxx.save_with_captcha do something else do something end Cheers, Nicholas On Jul 26, 3:42 am, Rails List <[email protected]> wrote: > I am using the great simple captcha plugin for saving records like this > > if @xxx.save_with_captcha > do something > else > do something > end > > How do I use it when updating records? > > if @xxx.update_attributes(params[:blah]) > > can I just say > > if @xxx.update_with_captcha(params[:blah]) > do something > else > do something > end > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---

