search for: check_captcha

Displaying 1 result from an estimated 1 matches for "check_captcha".

2009 May 13
0
Recaptcha plugin problem
...9;) #add error end I get: undefined method `verify_recaptcha'' for #<Comment:0x4f4c460> Bellow is the full code for my model class class Comment < ActiveRecord::Base validates_presence_of :title, :author, :comment, :message => ''required'' validate :check_captcha def check_captcha if not verify_recaptcha(:private_key => ''aaaaaaaaaaa'') errors.add(:title, ''def error''); end end end Please someone help 10x in adance, Ilian Iliev