3 ms·Introducing attr_secure for Rails1 points by craigkerstiens 13y agomariusz331 13y agoTo 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"]