Mon 30 Mar 2009
Upgrading to 2.3.2 – Uninitialized constant ApplicationController
Posted by kosmas under ruby on rails
[2] Comments
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
2 Responses to “ Upgrading to 2.3.2 – Uninitialized constant ApplicationController ”
Comments:
Leave a Reply
You must be logged in to post a comment.
April 24th, 2009 at 12:00 pm
Just wanted to thank you for posting this. I was losing hair over this one.
April 24th, 2009 at 12:37 pm
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