Forum: Ruby on Rails AR Sessions Only work in Dev

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2007-04-22 18:18
(Received via mailing list)

 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
to figure out why one environment would work fine and not the other.

 Any ideas ?

Eden L. (Guest)
on 2007-04-22 18:55
(Received via mailing list)
Have you created the sessions table in your production database?
unknown (Guest)
on 2007-04-22 19:02
(Received via mailing list)
yea its in there.  confirmed on production with data in production.log
well.  Not  sure how to debug this.  I literally just dumped by dev db
dropped it into my prod db and updated "environment" entry in

This topic is locked and can not be replied to.