Re: uninitialized constant ApplicationController

amritpal pathak
2011-06-21T10:58:11Z

On Tue, Jun 21, 2011 at 4:26 AM, Chirag Singhal
<chirag.singhal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:

> Hi Amrit,
>
> Are you by any chance migrating this project from Rails 2.x to 3.x?
> If yes, you may have the application controller in old format.
>
> Can you check and verify if you have a file
> app/controllers/application_controller.rb?
> If you don''t have that, then you might have
app/controllers/application.rb,
> in that case you will need to rename it to application_controller.rb
>
> sir this file was in app/controller/application_controller.rb before using
> namespacing.Now i hadcopied it to app/view/admin  along with
> posts_controller.rb
>

    i am unable to guess reason for error..:)

   thanks
   amritpalpathakgne.wordpress.com