Sha256: ccc32158f14e454666dac295c4d484815225171a177e1b53145dffb094f992ee
Contents?: true
Size: 372 Bytes
Versions: 8
Compression:
Stored size: 372 Bytes
Contents
module OvirtMetrics class VmDeviceHistory < OvirtHistory # have to rename the inheritance_column since this table has a column # called "type" self.inheritance_column = :_type_disabled scope :disks, -> { where(:type => "disk") } scope :nics, -> { where(:type => "interface") } scope :attached, -> { where(:delete_date => nil) } end end
Version data entries
8 entries across 8 versions & 1 rubygems