mongoid-encryptor icon indicating copy to clipboard operation
mongoid-encryptor copied to clipboard

[OBSOLETE] mongoid-encryptor encrypts and decrypts one or more fields in a Mongoid model.

Results 4 mongoid-encryptor issues
Sort by recently updated
recently updated
newest added

Hi, I was wondering if you could answer this for me. I want to use `bcrypt` to one-way hash my `User` passwords. I've posted [a question to StackOverflow](http://stackoverflow.com/questions/16182340/how-to-protect-a-user-password-with-bcrypt-and-mongoid) regarding this,...

In the latest Mongoid read_attribute for validation looks like this: ``` def read_attribute_for_validation(attr) if relations[attr.to_s] begin_validate relation = send(attr) exit_validate relation.do_or_do_not(:in_memory) || relation else send(attr) end end ``` Yours looks...

suggestion