kmahan.com

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.


Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!