Permalink
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 187 Bytes
class ModelWithEnc < SimpleRecord::Base
has_strings :name,
{:name=>:ssn, :encrypted=>"simple_record_test_key"},
{:name=>:password, :hashed=>true}
end