bborn/communityengine — Issue #30: Rails 3: Recaptcha Errors
Author: harmsk
Created: 2011-11-19 14:01:11+00:00
State: open

I tried to track this down...

I've added my Recaptcha keys to application_config.rb
configatron.require_captcha_on_signup = true
configatron.recaptcha_pub_key = '***...'
configatron.recaptcha_priv_key = '***...'

However, when rendering the views you'll get this error: Input error: k: Format of site key was invalid
which isn't surprising given that in the source there's this:

So I created my own config/initializers/recaptcha_constants.rb and now everything is working just fine!

It seems like there is a problem with the initialization order or something... but I couldn't quite figure it out.