Nathan,<br><br>&nbsp;It does not work with webrick<br>&nbsp;Restoring dev db to prod does not work<br>&nbsp;Not sure how this config entry would not be picked up by production environment, environment.rb is all environments<br><br>&nbsp;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> &lt;<a href="mailto:njvack@wisc.edu">njvack@wisc.edu</a>&gt; 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>&gt; Hello,<br>&gt;<br>&gt; For some reason when i change the &quot;environments&quot; line in<br>&gt; mongrel_cluster.yml to use production, ActiveRecord Sessions stop
<br>&gt; working.<br>&gt; Changing this line to development yield the correct result.<br>&gt; Entries in<br>&gt; database.yml are correct, and confirmed that the sessions table<br>&gt; exists in<br>&gt; both environments and that production is indeed working
<br>&gt; (production.logbeing filled up).<br>&gt;<br>&gt; Any idea why this would happen ?<br>&gt;<br>&gt; Thanks<br>&gt; Adam<br>&gt; _______________________________________________<br>&gt; Mongrel-users mailing list<br>
&gt; <a href="mailto:Mongrel-users@rubyforge.org">Mongrel-users@rubyforge.org</a><br>&gt; <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>