Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Routing Error uninitialized constant ApplicationController::ControllerAuthentication #126

Closed
doombug5000 opened this issue Aug 17, 2011 · 2 comments

Comments

@doombug5000
Copy link

Using Ruby 1.8.7
Rails 3.0.10

Fresh project used these commands:

rails new
(configured database.yml)
rake db:create
(configured gemfile)
bundle install
rails generate controller home index
rails g nifty:layout
rails g nifty:authentication

and I get the above error when I try to view in browser (firefox).

I checked to make sure controller_authentication was present in the lib folder, it is.

I also checked to make sure config.autoload_paths was set to the lib folder in application.rb, it is as well.

I'm new at this so forgive me if I missed anything obvious, google searches and a search through this forum didn't come up with anything else.

EDIT: My own fault, needed to restart the server. Works fine. Apologies.

@karlentwistle
Copy link

Got me as well, thanks for posting

@agorinenko
Copy link

restart the server

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants