Sha256: 0c1964e919b78c1d64578ed1a49d1fb455a1ce95a3f1ed961e87448669e38490
Contents?: true
Size: 294 Bytes
Versions: 19
Compression:
Stored size: 294 Bytes
Contents
class InsightsHit < ApplicationRecord has_one :host # since the facet is one-to-one association with a host, we can connect # through host_id column on both this model and facet. belongs_to :insights_facet, foreign_key: 'host_id', primary_key: 'host_id', counter_cache: :hits_count end
Version data entries
19 entries across 19 versions & 1 rubygems