[Mongrel] mongrel in production not using AR Sessions
njvack at wisc.edu
Mon Apr 23 11:20:19 EDT 2007
Are session entries being created in the table? Is your
config.action_controller.session_store = :active_record_store line
somehow restricted to development? Does setting the environment as an
env variable or forcing it in production in environment.rb change
What happens if you clone the dev database to the production
database? (of course, do this only on your dev box ;-)
Does it work with Webrick?
On Apr 23, 2007, at 9:49 AM, straightflush at gmail.com wrote:
> For some reason when i change the "environments" line in
> mongrel_cluster.yml to use production, ActiveRecord Sessions stop
> Changing this line to development yield the correct result.
> Entries in
> database.yml are correct, and confirmed that the sessions table
> exists in
> both environments and that production is indeed working
> (production.logbeing filled up).
> Any idea why this would happen ?
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
More information about the Mongrel-users