Recaptcha plugin problem

Hi all,

I am using radiant CMS and I am trying to create custom extension and
add recaptcha validation to it
but when I call
if not verify_recaptcha(:private_key => ‘aaaaaaaaaaa’)
#add error
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 =>

validate :check_captcha

def check_captcha
if not verify_recaptcha(:private_key => ‘aaaaaaaaaaa’)
errors.add(:title, ‘def error’);


Please someone help

10x in adance,
Ilian Iliev

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