Re: [RoR] Edge rails having problems with cookies and sessions?
Subject: Re: [RoR] Edge rails having problems with cookies and sessions?
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2007-03-05 09:26:22 GMT
People,
I figured this out.
It boiled down to a mismatch between my RAILS_ROOT and my edge rails.
I did this to fix it...
-Install the latest version of Locomotive on my Mac
-update gems with "gem update --system"
-update rake with "gem update rake"
-rails a_new_app
-rake rails:freeze:edge
-copy in my database.yml, routes.rb, migrations, models, controllers, views, images, stylesheets, and layouts
(tip-toe around an extra line in application.rb)
-Add a line to environment.rb:
config.action_controller.session = { :secret => "some secret phraseX" }
And script/server behaved like I like.
I'm happy now...
-Peter
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
RSS Feed