Heavy Sixer
2007-Dec-22 22:58 UTC
[Facebooker-talk] upgraded to rails 2.0.1 and borked sessions
I just pushed my facebook app up to 2.0.1 and noticed that I am now getting these errors: ActionView::TemplateError (Session key invalid or no longer valid) on line #3 of users/index.fbml.erb: It appears that I get the facebook_session object back but when i introspect and try and get the user''s name or something i get the session error. Has anyone else had these problems? Later, Mark
Heavy Sixer
2007-Dec-23 01:28 UTC
[Facebooker-talk] Fwd: upgraded to rails 2.0.1 and borked sessions
This is a follow up message to my last post. The error was with 2.0.2 not 2.0.1 Here is what I know about the problem. I created a new app in 2.0.2 e.g. : "rails some_app" when i did a simple introspection of the user object (for example getting the user''s name) i''d get the invalid session. However, creating an app using the rails 2.0.1 gem e.g.: "rails some_app" did not produce the error on the same introspection. Now, I did try changing the RAILS_GEM_VERSION = ''2.0.1'' in the version the 2.0.2 app created but it still would not work for me (even though it should have been using the 2.0.1 gem). This really seems like black magic to me, and I wish i had more info to help anyone else who might find themselves in a similar situation. However, I would be interested to know if someone has been able to generate a rails app from the 2.0.2 source and get facebooker to run without getting the invalid or expired Session Key. Later, Mark Begin forwarded message:> From: Heavy Sixer <heavysixer at gmail.com> > Date: December 22, 2007 4:58:49 PM CST > To: facebooker-talk at rubyforge.org > Subject: upgraded to rails 2.0.1 and borked sessions > > I just pushed my facebook app up to 2.0.1 and noticed that I am now > getting these errors: > > ActionView::TemplateError (Session key invalid or no longer valid) > on line #3 of users/index.fbml.erb: > > It appears that I get the facebook_session object back but when i > introspect and try and get the user''s name or something i get the > session error. Has anyone else had these problems? > > Later, > Mark-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20071222/6bd52e6b/attachment-0001.html