[Mongrel] mongrel in production not using AR Sessions
Nathan Vack
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
things?
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?
-Nate
On Apr 23, 2007, at 9:49 AM, straightflush at gmail.com wrote:
> Hello,
>
> For some reason when i change the "environments" line in
> mongrel_cluster.yml to use production, ActiveRecord Sessions stop
> working.
> 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 ?
>
> Thanks
> Adam
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
More information about the Mongrel-users
mailing list