Tushar Gandhi
2010-Jun-21 07:41 UTC
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 -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2010-Jun-21 09:17 UTC
Re: in `const_missing'': uninitialized constant CGI::Session
On Jun 21, 8:41 am, Tushar Gandhi <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> 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> Anyone have any idea How to solve this issue? > > I already renamed my application.rb to application_controller.rb > > Thanks, > Tushar > -- > Posted viahttp://www.ruby-forum.com/.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.