Dette fungerede smukt
placer model
key :location_id, Integer, :required => true
def location
Location.find(location_id)
end
placeringsmodel
def self.find_places(id)
Property.find_by_location_id(id)
end
def find_places
Property.find_by_location_id(id)
end