devise-activegraph icon indicating copy to clipboard operation
devise-activegraph copied to clipboard

DateTime nil not supported by neo4j

Open jelmerderonde opened this issue 9 years ago • 7 comments

I have never before submitted an issue on GitHub or anywhere else, so please let me know if I'm doing something wrong.

I am now working on integrating devise-neo4j with my app. After adding the recoverable property to my User model I ran into an issue. When submitting a new password, it returns the error that the year method is not supported by NilClass. It appears that devise tries to set the reset_password_at property to nil. Upon saving to the neo4j database this gives an error.

It seems to me that this is an issue for devise-neo4j, because it could be normal behaviour for both devise and neo4j, but I'm not sure.

Let me know what I can do to help fix this issue.

jelmerderonde avatar Feb 28 '15 16:02 jelmerderonde