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 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to