On Jul 7, 2005, at 7:39 PM, Mark Reid wrote: > That nailed it! > > I commented out the second last line in `config/environment.rb`, > namely: > # ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update > (:database_manager => CGI::Session::ActiveRecordStore) > > and that did the trick. Everything seems to be working fine now. > Going to `http://localhost:3000/ took me to the admin screen where > I set up a blog and posted an entry. Going back to `http:// > localhost:3000/ displayed the new article. > > I had tried typo-2.0.6 with an earlier version of rails a few weeks > ago so maybe some sessions got saved incorrectly there. I'm > surprised anything has persisted as I completely removed every > version of rails and its associated libraries before installing > 0.13. I also deleted all my typo databases. > > Where do the database based sessions get stored? > > Thanks for the extremely prompt and useful help!
DHH just posted the solution to your problem on the Rails blog. Basically, you're running a beta of Ruby 1.8.2, and you need to be using the final version. See 'ruby -v' -- it should say version 1.8.2 from Christmas 2004 (or newer). If it's older then that, you're going to see the CGI session error. http://weblog.rubyonrails.com/archives/2005/07/09/are-you-running-the- final-version-of-ruby-182/ Scott From nic.lindh at gmail.com Tue Jul 12 15:47:41 2005 From: nic.lindh at gmail.com (Nic Lindh) Date: Tue Jul 12 15:42:28 2005 Subject: [typo] Extended_html Message-ID: <[EMAIL PROTECTED]> I just updated my blog to the latest svn trunk and am getting extended_html errors. There's a migrate script in /db/migrate, which looks like it'll do the job of adding the required fields to the articles, but my mind is utterly melted and I simply can't figure out how to run it. If any of you could please help me out with the magic incantation it would be *hugely* appreciated. Thanks a bunch, Nic
