Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"uninitialized constant Authlogic"

Just followed the Authlogic tutorial. I am getting "uninitialized constant Authlogic" when I try run the app. After searching, I can see that it has to do with gems/plugins but I can't find a solution.

Edit:

My UserSession model is:

class UserSession < Authlogic::Session::Base
end
like image 862
irl_irl Avatar asked Feb 28 '23 12:02

irl_irl


1 Answers

Is it in your environment.rb file? If it is, did you restart your server?

If you're using Rails 3, is it in your Gemfile, and did you restart your server?

Most of all, did you install the gem?

like image 107
Garrett Avatar answered Mar 07 '23 09:03

Garrett