Rails 2.3 : Uninitialized constant CGI::Session

Upgraded to Rails 2.3 today… very nice, but I ran into this

uninitialized constant CGI::Session

To solve, look for anywhere you reference the builtin session stores for rails (ie CookieStore), and change “CGI::Session” to “ActionController::Session”. (ie “CGI::Session::CookieStore” to “ActionController::Session::CookieStore”)

Accent theme by Handsome Code


view archive



Ask me anything