The set_locations function was setup strangely. It was trying to save a location object into an integer and it was using a .where(:id =>) which should just be a find. Or in this case a self.sublocation
The set_locations function was setup strangely. It was trying to save a location object into an integer and it was using a .where(:id =>) which should just be a find. Or in this case a self.sublocation

lgbr/warehouse,lgbr/warehouse,lgbr/warehouse