phatworx/devise_security_extension — Issue #22: 3.months returns a Float instead of a Fixnum
Author: cc-web
Created: 2012-01-31 07:52:29+00:00
State: open
Labels: bug

At the methods need_change_password?, need_change_password, need_change_password! the conditions expect a fixnum but a float is given.

Workaround until phatworx fixed it:
3.months.to_i.class => Fixnum