app/controllers/application_controller.rb
# Check captcha set in #create form only for devise registration controller
Check captcha set in #create form only for devise registration controller
Check captcha set in #create form only for devise registration controller
def check_captcha_for_devise_registration_create
    logger.debug( "\r\n\r\n!! =====[ #{self.class.name}: check_captcha_for_devise_registration_create ]====" )
    logger.debug( "- resource...: " << resource.inspect )
    logger.debug( "- PARAMS.....: " << params.inspect )
    unless verify_recaptcha
      self.resource = resource_class.new sign_up_params
      resource.validate 
      set_minimum_password_length
      respond_with resource
    end
  end
def check_captcha_for_devise_registration_create logger . debug ( "\r\n\r\n!! =====[ #{self.class.name}: check_captcha_for_devise_registration_create ]====" ) logger . debug ( "- resource...: " << resource . inspect ) logger . debug ( "- PARAMS.....: " << params . inspect ) unless verify_recaptcha self . resource = resource_class . new sign_up_params resource . validate set_minimum_password_length respond_with resource end end
Check captcha set in #create form only for devise registration controller
Check captcha set in #create form only for devise registration controller
# DEBUG # Look for any other validation errors besides Recaptcha