class MetaKey


MetaKey contains the association between User and Group, and between Group and Item. For each assiciation it stores a crypted key (and iv as well) used to decrypt the associated values.

Public Instance Methods

inspect() click to toggle source

Shorter view - to prevent rails console to show all the encrypted data

# File app/models/meta_key.rb, line 14
def inspect
  "#<MetaKey> id: #{}  [user_id: #{self.user_id}, group_id: #{self.group_id}, item_id: #{self.item_id}]"