New Plugin for Rails: ArEncrypt
by Kelly on Jan.20, 2010, under Main, Programming
I added a new plugin to my repository on github today.
http://github.com/KellyMahan/ArEncrypt
I just kept running into this same issue every time I needed password encryption. And I didn’t know of any other plugins that accomplished the same thing with such simplicity.
Just install the plugin and in your active record class
encrypt :encrypted_attribute_name
It’s just that simple. On every before save the attribute you named will be encrypted. If the value isn’t changed before a save the the encryption is skipped.
