Sha256: f8e4fc31e7ce81025ec12fc2db39a97e79d2e612afd31a5d39aa74a8875168b7

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

class RESO::Lookup::AreaUnit < RESO::Enumeration
  has_many :area_unit_assignments, foreign_key: :enumeration_id
  has_many :reso_property_farming, through: :area_unit_assignments, source: :enumerable, source_type: "RESO::Property::Farming"
  has_many :reso_property_room, through: :area_unit_assignments, source: :enumerable, source_type: "RESO::PropertyRoom"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reso-0.2.2 lib/reso/app/models/reso/lookup/area_unit.rb