Sha256: e979cbec3f0878a8973b7bc7c6a89638f4e445eefb29e24fb9cd82306533d8b2

Contents?: true

Size: 186 Bytes

Versions: 38

Compression:

Stored size: 186 Bytes

Contents

class LockboxAudit < ApplicationRecord
  belongs_to :subject, polymorphic: true
  belongs_to :viewer, polymorphic: true<% if data_type == "text" %>

  serialize :data, JSON<% end %>
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
lockbox-2.0.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.4.1 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.4.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.3.3 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.3.2 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.3.1 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.3.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.2.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.1.2 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.1.1 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.1.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-1.0.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.8 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.7 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.6 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.5 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.4 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.3 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.2 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.6.1 lib/generators/lockbox/templates/model.rb.tt