Sha256: 6bc6dfb9561b5ed7c59e305a15698fb7df92c7afecec8abcae98f446103d88ab
Contents?: true
Size: 466 Bytes
Versions: 1
Compression:
Stored size: 466 Bytes
Contents
class RESO::Property::Utility < ApplicationRecord self.table_name = 'reso_property_utilities' belongs_to :property has_many :utility_assignments, as: :enumerable has_many :utilities, through: :utility_assignments, source: :enumeration, class_name: "RESO::Lookup::Utility" has_many :water_source_assignments, as: :enumerable has_many :water_source, through: :water_source_assignments, source: :enumeration, class_name: "RESO::Lookup::WaterSource" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reso-0.2.2 | lib/reso/app/models/reso/property/utility.rb |