Sha256: bd2bff5aefc26497caeeec525b2daeb962a7d36ea2d2a97c74fb420bad5c27aa

Contents?: true

Size: 289 Bytes

Versions: 8

Compression:

Stored size: 289 Bytes

Contents

require_dependency "renalware/system"

module Renalware
  module System
    class Event < ApplicationRecord
      include Ahoy::QueryMethods # See https://github.com/ankane/ahoy

      belongs_to :visit, class_name: "System::Visit"
      belongs_to :user, optional: true
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/models/renalware/system/event.rb
renalware-core-2.0.7 app/models/renalware/system/event.rb
renalware-core-2.0.5 app/models/renalware/system/event.rb
renalware-core-2.0.4 app/models/renalware/system/event.rb
renalware-core-2.0.3 app/models/renalware/system/event.rb
renalware-core-2.0.2 app/models/renalware/system/event.rb
renalware-core-2.0.1 app/models/renalware/system/event.rb
renalware-core-2.0.0 app/models/renalware/system/event.rb