I want to verify if a user exists, and if so, do a password match.
My controller looks like this:
def attempt_login
authorized_user = User.authen
Just want to let you know that i had this problem as well. The issue was quickly solved but the server showed the error every request afterwards. Code changes have not been reflected until i restarted the server.
touch tmp/restart.txt was not sufficient so i had to restart the server /etc/init.d/apache2 restart to remove the error message.
$ apache2 -v Server version: Apache/2.2.16 (Debian) Server built: Apr 1 2012 07:14:38 $ ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] $ gem list passenger *** LOCAL GEMS *** passenger (3.0.13) $ bundle exec rails -v Rails 3.0.7