padrino/padrino-framework — pull request #851 by ttaubert (2012-05-26 18:02:29+00:00)
Title: fix for undefined method crypted_password

After deploying my app to heroku and trying to log into the admin interface I got the following error:

NameError - undefined local variable or method `crypted_password' for #

This seems to be the same as #322 and occurs only when using Sequel ORM with a Postgresql database. Calling self.crypted_password instead of crypted_password in the Account model resolves this error.