Google Groups Home
Help | Sign in
problem with session
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
rizwana  
View profile
 More options May 15, 3:37 am
From: rizwana <rizzwanab...@gmail.com>
Date: Thu, 15 May 2008 00:37:20 -0700 (PDT)
Local: Thurs, May 15 2008 3:37 am
Subject: problem with session
Hi,

I'm trying to take a rails project built on gem version 1.1.6 and
upgrade it to 2.0.2.  So far, I haven't changed anything except this
line in the config/environment.rb file ...

RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION

when I start the server, I get this error:

[me@mymachine]~/w/dps% ruby script/server
=> Booting WEBrick...
./script/../config/../vendor/rails/railties/lib/initializer.rb:334:in
`send': undefined method `session=' for ActionController::Base:Class
(NoMethodError)
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:334:in `initialize_framework_settings'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:333:in `each'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:333:in `initialize_framework_settings'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:330:in `each'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:330:in `initialize_framework_settings'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:100:in `process'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:47:in `send'
        from ./script/../config/../vendor/rails/railties/lib/
initializer.rb:47:in `run'
         ... 11 levels...
        from /usr/local/apache2/htdocs/dps/vendor/rails/activesupport/
lib/active_support/dependencies.rb:495:in `require'
        from /usr/local/apache2/htdocs/dps/vendor/rails/railties/lib/
commands/server.rb:39
        from script/server:3:in `require'
        from script/server:3

What does it mean and any ideas how to fix/troubleshoot?  Thanks, -
rizwana


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google