Displaying 1 result from an estimated 1 matches for "get_captcha".
2010 May 18
0
ruby-recaptcha seems be broken or has significant limitation
...modified action_controller.rb
class ApplicationController < ActionController::Base
include ReCaptcha::AppHelper
5. modified application_helper.rb like so:
module ApplicationHelper
include ReCaptcha::ViewHelper
The inclusion of the Recaptcha::ViewHelper works. Meaning this tag:
<%= get_captcha(:options => {:theme => ''clean''}) %>
Renders an image.
However, the controllers are another can of worms:
calls like:
if validate_recap(params, @user.errors) && @user.save
fail with the following message:
NoMethodError (undefined method `validate_recap'&...