Module: BrighterPlanet::Residence::Relationships

Defined in:
lib/residence/relationships.rb

Class Method Summary collapse

Class Method Details

.included(target) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/residence/relationships.rb', line 4

def self.included(target)
  target.belongs_to :residence_class
  target.belongs_to :urbanity
  target.belongs_to :dishwasher_use
  target.belongs_to :air_conditioner_use
  target.belongs_to :clothes_machine_use
  target.belongs_to :zip_code
end