Sha256: 35b34abdc995bf4e38680f5b3196881754a511ae4a47da9c9eacc41ee26df303

Contents?: true

Size: 184 Bytes

Versions: 5

Compression:

Stored size: 184 Bytes

Contents

class DataVault < ActiveRecord::Base
  has_paper_trail
  attr_encrypted :data, :key => "SECRET!", :attribute => :encrypted_data

  belongs_to :data_vaultable, :polymorphic => true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 app/models/data_vault.rb
xrono-1.0.3 app/models/data_vault.rb
xrono-1.0.2 app/models/data_vault.rb
xrono-1.0.1 app/models/data_vault.rb
xrono-1.0.0 app/models/data_vault.rb