How do I correctly install ambethia/recaptcha with rails 3

Posted by TLK on Stack Overflow See other posts from Stack Overflow or by TLK
Published on 2010-12-24T21:47:26Z Indexed on 2010/12/24 21:54 UTC
Read the original article Hit count: 232

I have done the following steps:

Added to gemfile:

gem "recaptcha"

Added to config/initializers/recaptcha.rb

Recaptcha.configure do |config|
  config.public_key  = 'MyKeyHere'
  config.private_key = 'MyKeyHere'
end

Added to view:

= raw recaptcha_tags

Ran: bundle install

...then restarted server. The result?

undefined local variable or method `recaptcha_tags' for #<#<Class:0x1053baaa0>:0x1053b69c8>

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rubygems