I just upgraded to rails 1.2.5 so if I''m correct, it uses cookie based
session storage. So after placing this in my config/enviroment:
config.action_controller.session = {
:session_key => ''_myapp_session'',
:secret => ''getyourownsecretkey''
}
Do I comment this line out? config.action_controller.session_store
= :active_record_store
Also, do I remove the sessions table in my database?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Brian Hogan
2007-Oct-18 17:53 UTC
Re: Edge Rails - Do I need to remove the sessions table?
It uses it by *default*. You can change the defaults to use whatever you want. If you want to continue using active_record_store, you can. On 10/18/07, jko170 <jko170-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > I just upgraded to rails 1.2.5 so if I''m correct, it uses cookie based > session storage. So after placing this in my config/enviroment: > > config.action_controller.session = { > :session_key => ''_myapp_session'', > :secret => ''getyourownsecretkey'' > } > > Do I comment this line out? config.action_controller.session_store > = :active_record_store > > Also, do I remove the sessions table in my database? > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I want to use the new cookie session store. So is it safe to drop the sessions table in my database? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Brian Hogan
2007-Oct-18 19:57 UTC
Re: Edge Rails - Do I need to remove the sessions table?
Yes. On 10/18/07, jko170 <jko170-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > I want to use the new cookie session store. So is it safe to drop the > sessions table in my database? > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---