20 4 / 2011
Brian Cardarella's Blog: Exploring Rails 3.1 - ActiveModel::SecurePassword
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
-
discoverex liked this
-
end-of-lease-cleaning-casuarina reblogged this from bcardarella
-
institution88 liked this
-
preparinged9 liked this
-
dropped99de liked this
-
community788 liked this
-
schneider882 liked this
-
no-depositcasino liked this
-
horses265g liked this
-
lawyer80op liked this
-
keynotetis8 liked this
-
spurgeoncc liked this
-
gloria2fg liked this
-
fitzpatrickyou834 liked this
-
heatheryi982 liked this
-
fergusonicd890 liked this
-
figure-skating reblogged this from bcardarella
-
nhmortgagebroker liked this
-
mamortgageexpert liked this
-
andion liked this
-
seosweetheart liked this
-
k776 liked this
-
jonpaullussier reblogged this from bcardarella
-
baldrailers liked this
-
danhilltech reblogged this from bcardarella
-
panggi liked this
-
bcardarella posted this