Skip to content

Implement rails encryption on meta fields. #158

@MrNagoo

Description

@MrNagoo

I'm starting to use rails encryption and I'd like to be able to specify jsonb fields to encrypt.

jsonb_accessor :metadata,
    field_1: :string,
    field_2: :integer

encrypts :field_1

instead of

encrypts :metadata

I'm using STI and wouldn't like to create real columns on the table.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions