Nathan,<br><br> It does not work with webrick<br> Restoring dev db to prod does not work<br> Not sure how this config entry would not be picked up by production environment, environment.rb is all environments<br><br> Thanks for the help, any other ideas on how to best debug here ?
<br><br><br><br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">Nathan Vack</b> <<a href="mailto:njvack@wisc.edu">njvack@wisc.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are session entries being created in the table? Is your<br>config.action_controller.session_store = :active_record_store line<br>somehow restricted to development? Does setting the environment as an<br>env variable or forcing it in production in
environment.rb change<br>things?<br><br>What happens if you clone the dev database to the production<br>database? (of course, do this only on your dev box ;-)<br><br>Does it work with Webrick?<br><br>-Nate<br><br>On Apr 23, 2007, at 9:49 AM,
<a href="mailto:straightflush@gmail.com">straightflush@gmail.com</a> wrote:<br><br>> Hello,<br>><br>> For some reason when i change the "environments" line in<br>> mongrel_cluster.yml to use production, ActiveRecord Sessions stop
<br>> working.<br>> Changing this line to development yield the correct result.<br>> Entries in<br>> database.yml are correct, and confirmed that the sessions table<br>> exists in<br>> both environments and that production is indeed working
<br>> (production.logbeing filled up).<br>><br>> Any idea why this would happen ?<br>><br>> Thanks<br>> Adam<br>> _______________________________________________<br>> Mongrel-users mailing list<br>
> <a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br>> <a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br><br>_______________________________________________
<br>Mongrel-users mailing list<br><a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users
</a><br></blockquote></div><br>