Sha256: 67c8cc98791260d4dec465e44371e7907d2e09899986327b150e3d4d0aadcc52
Contents?: true
Size: 301 Bytes
Versions: 27
Compression:
Stored size: 301 Bytes
Contents
# Join model that hosts the connection between hostgroups and ansible_roles class HostgroupAnsibleRole < ApplicationRecord belongs_to :hostgroup belongs_to :ansible_role validates :ansible_role_id, :presence => true, :uniqueness => { :scope => :hostgroup_id } end
Version data entries
27 entries across 27 versions & 1 rubygems