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-0.6.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.5.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.9 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.8 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.7 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.6 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.5 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.4 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.3 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.2 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.1 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.4.0 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.3.7 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.3.6 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.3.5 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.3.4 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.3.3 lib/generators/lockbox/templates/model.rb.tt
lockbox-0.3.2 lib/generators/lockbox/templates/model.rb.tt