Sha256: 9da35f1c886fa0b3283a9b915dc37f51daedf3a9f4ff59002e20e28014e8183f
Contents?: true
Size: 263 Bytes
Versions: 15
Compression:
Stored size: 263 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. has_one :insights_facet, foreign_key: 'host_id', primary_key: 'host_id' end
Version data entries
15 entries across 15 versions & 1 rubygems