{"issue":{"created_at":"2011-11-19T14:01:11Z","state":"closed","updated_at":"2011-11-28T15:12:44Z","user":{"gravatar_id":"3d7b5e685a1db4061fb2bd951d78bd62","id":957446,"url":"https://api.github.com/users/harmsk","avatar_url":"https://secure.gravatar.com/avatar/3d7b5e685a1db4061fb2bd951d78bd62?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"harmsk"},"comments":1,"body":"I tried to track this down...\r\n\r\nI've added my Recaptcha keys to application_config.rb\r\nconfigatron.require_captcha_on_signup = true\r\nconfigatron.recaptcha_pub_key = '***...'\r\nconfigatron.recaptcha_priv_key = '***...'\r\n\r\nHowever, when rendering the views you'll get this error: Input error: k: Format of site key was invalid\r\nwhich isn't surprising given that in the source there's this: <script type=\"text/javascript\" src=\"http://www.google.com/recaptcha/api/challenge?k=#&lt;Configatron::Store:0x7f757add7628&gt;&amp;error=expression\"></script>\r\n\r\nSo I created my own config/initializers/recaptcha_constants.rb and now everything is working just fine!\r\n\r\nIt seems like there is a problem with the initialization order or something... but I couldn't quite figure it out.\r\n","assignee":null,"id":2288306,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":30,"title":"Rails 3: Recaptcha Errors","closed_at":"2011-11-28T15:12:44Z","html_url":"https://github.com/bborn/communityengine/issues/30","url":"https://api.github.com/repos/bborn/communityengine/issues/30","milestone":null},"action":"closed"}