Closed theIntuitionist closed 15 years ago
This was fixed in version 0.2.0 (0.2.1 is current). However, github gems have been broken since their move to Rackspace, so they haven't updated their copy. You can get the current version from Gemcutter or RubyForge.
This code:
class User < ActiveRecord::Base encrypt_with_public_key :first_name, :symmetric => :never, :base64 => true, :public_key => File.join(RAILS_ROOT,'config','public.pem') encrypt_with_public_key :last_name, :symmetric => :never, :base64 => true, :public_key => File.join(RAILS_ROOT,'config','public.pem') end
results in