I have the (monstrous) task of upgrading a project from Ruby 1.8.7 to 2.2.2 and Rails 3.2.18 to 4.2. Things were going pretty well, the development environment was ok, so I decided to try out the production environment... good feeling gone.
When I try to save my session, I get:
undefined method `valid_password?'
After quite some time debugging the issue, I noticed that everything works fine if I change the Rails setting config.eager_load to false.
It seems that the methods normally dynamically added by Authlogic to my Operator model class aren't there. Does anyone have a clue how to fix this?
I have the (monstrous) task of upgrading a project from Ruby 1.8.7 to 2.2.2 and Rails 3.2.18 to 4.2. Things were going pretty well, the development environment was ok, so I decided to try out the production environment... good feeling gone.
When I try to save my session, I get:
After quite some time debugging the issue, I noticed that everything works fine if I change the Rails setting
config.eager_loadtofalse.It seems that the methods normally dynamically added by Authlogic to my Operator model class aren't there. Does anyone have a clue how to fix this?