Frederick Cheung wrote: > On 3 Oct 2008, at 15:21, Neil Cauldwell wrote: > >>>> stuck on this; >>> end >> to set the public and private keys as variables in the environment.rb >> (or an initializer, if applicable) - but I just can't get it to work; >> >> http://pastie.org/284245 >> > If you're going that way you need to set ENV['RECAPTCHA_PUBLIC_KEY'], > which is not the same thing as RECAPTCHA_PUBLIC_KEY > > Fred
Thank you, this works like a charm; ENV['RECAPTCHA_PUBLIC_KEY'] = 'some_key'; -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

