RSSAmplifier

Shorts · Jul 23, 2019

Lockbox: Now with Types

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

A new version of Lockbox was just released with support for types, making it easier to encrypt non-string fields. class User < ApplicationRecord encrypts :born_on, type: :date encrypts :salary, type: :integer end Previously, you’d need to perform typecasting yourself, making it harder to work with encrypted fields. All of these types are supported: date datetime boolean integer float binary json…

Read on ankane.org

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.