jmazzi/crypt_keeper — pull request #24 by ghandal (2013-01-01 21:40:46+00:00)
Title: Add type casting to encrypted attributes

You can pass type_casts hash to options to enable typecasting.

Type casting is done using ActiveRecord::ConnectionAdapters::Column class methods (in similar way ActiveRecord does it for regular attributes) when calling attribute reader method (I am overriding readers for all crypt_keeper_fields).

(extracted from #19)