Facebooker Session is not created when config.cache_classes = true
Posted
by Michal
on Stack Overflow
See other posts from Stack Overflow
or by Michal
Published on 2010-06-18T01:02:44Z
Indexed on
2010/06/18
1:13 UTC
Read the original article
Hit count: 318
I am using Facebooker (along with devise & devise_facebook_connectable). The problem is that user can't sign in with Facebook Connect in production environment unless I set config.cache_classes to false (which I don't want to do in production obviously).
When cache_classes = true, Facebooker::Session.current is nil. Trying to set it manually creates other problems, so I assume it's not the solution.
Using Rails 2.3.8 (tried on 2.3.5 too) and Facebooker 1.0.70 (tries on 1.0.69 too) and passenger 2.2.11.
Any hints?
© Stack Overflow or respective owner