3 ms·
To solve this problem when I store sensitive things, I use attr_encrypted like this: Gemfile: gem 'attr_encrypted' account.rb: attr_encrypted, :account_number
by mariusz331 13y ago
To solve this problem when I store sensitive things, I use attr_encrypted like this:
Gemfile:
gem 'attr_encrypted'
account.rb:
attr_encrypted, :account_number, :key => ENV["some_key"]