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