straightflush-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-22 14:17 UTC
AR Sessions Only work in Dev
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Have you created the sessions table in your production database? On Apr 22, 10:17 pm, straightfl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
straightflush-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-22 15:01 UTC
Re: AR Sessions Only work in Dev
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 On 4/22/07, eden li <eden.li-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Have you created the sessions table in your production database? > > On Apr 22, 10:17 pm, straightfl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > 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 > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---