Forum: Ruby on Rails AR Sessions Only work in Dev

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2007-04-22 18:18
(Received via mailing list)
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
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
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 topic is locked and can not be replied to.