Quick Note About rFacebook, Edge Rails, and Sessions.
This problem may not be specific to rFacebook, but when I added acts_as_facebook_user to my user model and then made a call like:
my_user.first_name
I would get an 500 internal server error. I checked the log and saw this:
CGI::Session::CookieStore::CookieOverflow
I found that if I changed the app so that it uses db sessions everything started working.
Uncomment this line in environment.rb:
config.action_controller.session_store = :active_record_store
Make sure to add the session tables to your db by using the rake task and you should be good to go. Note that I am running edge rails so keep that in mind if you use this advice.
Justin Ball is a software consultant and entrepreneur with a passion for Ruby. He evolved from a C++ and .Net monkey into a python programmer and finally found Ruby. In the rare moments when he isn't writing code, talking about code or measuring his code productivity in profanity per hour, you can find him on his bike in the mountains or on the roads surrounding Cache Valley. 









