Search code examples
ruby-on-railsruby-on-rails-2

Rails 2.2 not using active record session, even though it's defined


After moving an existing rails 2.2 app to a new server, the app is now using a cookie session instead of an active record session. The old server is still running using the same repo and an active record session.

The session_store is being set properly in environment.rb and we can see Rails is loading the setting in Rails.configuration.

Any thoughts?


Solution

  • Answering my own question, there is a compatibility issue with rails 2.2 and phusion passenger 5. The solution is to upgrade to rails 2.3 or downgrade to passenger 4.