Problem
Upgrading from a previous version of Rails to the latest 2.3.2, you get an error:
NameError: uninitialized constant ApplicationController
both in the web browser and in console.
Solution
Since the introduction of Rails 2.3 the application.rb file has been renamed to application_controller.rb.
So in order to solve the problem just rename your file application.rb to application_controller.rb.
Thanks to the post here
Just wanted to thank you for posting this. I was losing hair over this one.
Thank you wikiup.
I think you should be thanking vince though, as that was were the original solution was
http://www.hackido.com/2009/03/quick-tip-solve-uninitialized-constant.html