plataformatec/devise — pull request #2605 by sekrett (2013-09-02 10:51:10+00:00)
Title: Handle nil failed_attempts

This could be an issue for apps using devise from a long time ago. Personally I had about 10% users with nil `failed_attempts`.