I haven't actually made the move yet but here's some links that should help:
- http://www.slashdotdash.net/articles/2007/12/03/rails-2-upgrade-notes
- http://www.sitepoint.com/blogs/2008/01/25/upgrading-to-rails-20-a-recipe/

Raul



----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Deploying Rails" <rubyonrails-deployment@googlegroups.com>
Sent: Monday, February 25, 2008 8:29 AM
Subject: [Rails-deploy] What does undefined method `session=' for 
ActionController::Base:Class mean?


>
> Hi,
>
> I'm trying to take a rails project built on gem version 1.2.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:
>
> [EMAIL PROTECTED]/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, -
> Dave
>
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to