#172 new
whatthefunk

Production mode error: undefined local variable or method `acts_as_authentic'

Reported by whatthefunk | September 21st, 2010 @ 08:10 PM

Hello,

I'm using the AuthLogic gem in my rails app. It works fine in the development environment but when I switch to production environment and config.cache_classes = true, I get an error preventing the app from starting:

/home//rails//app/models/book.rb:2: undefined local variable or method acts_as_authentic' for Book:Class (NameError) [...]

"Book" happens to be the first class who's model includes acts_as_authentic. I'm using authlogic (2.1.5) and rails (2.3.5). Any ideas?

Thanks!

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.

People watching this ticket

Pages