Simple Captcha - Update attributes?

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

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 L. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs