Recaptcha undefined problem
There are various places where we have added recaptcha in our rails app. Afer deploying to staging environment, I realized it wasn’t working properly and Firebug captured this error:
Recaptcha is not defined
So comparing what could be different between my dev environment and the staging environment, I saw the portion of the app where recaptcha was failed a secure page. So the fix is rather simple:
<%= captcha_tags(:ssl => true) %>
Furthermore, just to be on safe side, in other portions of the apps as well I was calling this captcha. So i added a helper method like this:
def recaptcha_tags_helper(options = {})
options.merge!(:ssl => true) if request.ssl?
recaptcha_tags(options)
end
June 11th, 2010 at 9:40 pm
How are you?! Please e-mail me your contacts. I have a question james@infansport.ru” rel=”nofollow”>……
Best regards….
June 15th, 2010 at 9:26 am
Привет!! carlos@onlylcd.ru” rel=”nofollow”>……
С уважением,…
July 21st, 2010 at 6:54 am
Buy:Mega Hoodia.Nexium.Prevacid.Actos.Petcam (Metacam) Oral Suspension.Retin-A.Zyban.Synthroid.Accutane.Arimidex.Valtrex.Prednisolone.Human Growth Hormone.100% Pure Okinawan Coral Calcium.Lumigan.Zovirax….
August 30th, 2010 at 8:23 am
Heaters http://zfahrenheattx7axh1.APTAUTOPARTS.INFO/tag/Heaters+fahrenheat+Baseboard/ : Heaters…
Baseboard…