Sha256: 226979b3ae8360d428d8556c92fa8a25750a8767fbebf81d9ebba730f8b1e883
Contents?: true
Size: 332 Bytes
Versions: 39
Compression:
Stored size: 332 Bytes
Contents
# frozen_string_literal: true # 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
39 entries across 39 versions & 1 rubygems