Tutorials

How to Store Secure Encrypted Data in Rails without using Gems
Storing sensitive data in plaintext can seriously harm your internet business if an attacker gets hold of the database. Encrypting data is also a GDPR friendly best practice. In this blog post I describe a simple way to securely encrypt, store and...




Sorbetting a gem, or the story of the first adoption
NOTE: this post was written a few days after the first public Sorbet release (on 2019-06-20). If you're reading this months after that happened, most of the things described here could be no longer relevant.Stripe has finally open-sourced their lo...




Rails 6 adds support for Multi Environment credentials
This blog is part of our Rails 6 series. Rails 6.0.0.rc1 was recently released.In Rails 5.2, encrypted credentails are stored in the file config/credentials.yml.enc. This is a single flat file which is encrypted by the key located in config/master...