In `const_missing': uninitialized constant CGI::Session

Hi,
I have an application which previously running on rails 2.2.2. I just
upgraded the rails to 2.3.8. After that I tried to start the server I
got the following error:-
“/usr/local/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in
`const_missing’: uninitialized constant CGI::Session (NameError”

Anyone have any idea How to solve this issue?

I already renamed my application.rb to application_controller.rb

Thanks,
Tushar

On Jun 21, 8:41 am, Tushar G. [email protected] wrote:

Hi,
I have an application which previously running on rails 2.2.2. I just
upgraded the rails to 2.3.8. After that I tried to start the server I
got the following error:-
“/usr/local/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_supp ort/dependencies.rb:105:in
`const_missing’: uninitialized constant CGI::Session (NameError”

Session handling was rejigged in 2.3. Search for anywhere you’re using
CGI::Session and see what the internet has to say about accomplishing
what you were attempting to do

Fred