Sha256: 90915d89c204d46fa8b521acc92fcbca53f8c271c9bdac62368bf5627d7aa4d5
Contents?: true
Size: 348 Bytes
Versions: 10
Compression:
Stored size: 348 Bytes
Contents
# Join model that hosts the connection between hosts and ansible_roles class HostAnsibleRole < ApplicationRecord audited :associated_with => :host, :allow_mass_assignment => true belongs_to_host belongs_to :ansible_role validates :ansible_role_id, :presence => true, :uniqueness => { :scope => :host_id } end
Version data entries
10 entries across 10 versions & 1 rubygems