does has_secure_password works also with mongoid?
I still get "undefined local variable or method `has_secure_password' for User:Class (NameError)". This with Rails 3.1.0.rc4 and mongoid 2.0.2
As I read somewhere else "Any ActiveModel based model will get this functionality. (ActiveRecord, Mongoid)".
... So for using has_secure_password with mongoid, make sure you include ActiveModel::SecurePassword
Hi Ryan
does has_secure_password works also with mongoid?
I still get "undefined local variable or method `has_secure_password' for User:Class (NameError)". This with Rails 3.1.0.rc4 and mongoid 2.0.2
As I read somewhere else "Any ActiveModel based model will get this functionality. (ActiveRecord, Mongoid)".
Thanks for the great job!