AR Sessions Only work in Dev


For some reason whenever I enable

config.action_controller.session_store = :active_record_store

in environment.rb, it only works in development and not production. Nothing in environments/production.rb that would override this so cant seem to figure out why one environment would work fine and not the other.

Any ideas ?


Have you created the sessions table in your production database?

yea its in there. confirmed on production with data in production.log as well. Not sure how to debug this. I literally just dumped by dev db and dropped it into my prod db and updated “environment” entry in mongrel_cluster.yml