Current_user nil after creating a session in ROR with AuthLogic
问题 I'm having a bit of problems with AuthLogic and current_user. I have a Flex4 application using the Cairngorm framework as the front-end, and Ruby On Rails as the back-end. I can log in fine through a browser, and when only using ROR. However, when I try it through my Flex4 application, it will fail the first time but work the second time. What is happening, is inside the user_sessions_controller.rb I have a call to self.current_user.to_xml; The first time I call the create action, the current