On 15 February 2011 12:06, Jimmy <[email protected]> wrote: > >> In your API controller, just put "session :disabled => true" on top. > > That's a noop function, it results in a deprecation warning: > > "Disabling sessions for a single controller has been deprecated. > Sessions are now lazy loaded. So if you don't access them, consider > them off. You can still modify the session cookie options with > request.session_options."
What that means, I believe, is that if you do not access the session then it will not be created. That implies that somewhere in your API requests you are accessing the session. Find that/them and remove the access to the session and no session will be created for those requests. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

