I\'m in the process of upgrading a Rails app from Rails 2 directly to Rails 4. I\'m using the new /config/initializers/session_store.rb file, with CookieStore
/config/initializers/session_store.rb
I had a similar symptoms. It turns out it was because I added the rails-api gem and it totally broke session saving.