AR Sessions Only work in Dev

Hey,

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 ?

thanks
Adam

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

Adam

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs