Archive for February, 2008
Thursday, February 21st, 2008
Quick and Dirty cropping images with attachment_fu
Rick Olson’s attachment_fu is a great plugin for attaching files documents to Rails models. It’s a rewrite of his acts_as_attachment plugin. While it can handle any kind of file data, most commonly, it is used for attaching images; as a result attachment_fu handles automatic resizing of images, and creation of thumbnails using RMagick, [...]
6 Comments » - Posted in Active Record, Ruby on Rails by Spike
Tuesday, February 5th, 2008
Encrypting Lots of Sensitive Data with Ruby (on Rails)
Previously I wrote about how to use public key encryption to automatically encrypt data using Ruby (and thus Rails). Because this method can encrypt data without a password, it’s very useful for securing information received from a form, without the person entering the from having to do anything special. However public key [...]