20 4 / 2011

bcardarella:

Rails 3.1 will have password encryption baked in via ActiveModel::SecurePassword. Any ActiveModel based model will get this functionality. (ActiveRecord, Mongoid)

Your model will need a field called password_digest and then you’ll need to activate secure password:

class User <...

Permalink 39 notes

  1. end-of-lease-cleaning-casuarina reblogged this from bcardarella
  2. figure-skating reblogged this from bcardarella
  3. jonpaullussier reblogged this from bcardarella
  4. danhilltech reblogged this from bcardarella
  5. bcardarella posted this