I have the following scenario for a trucking company. The company runs loads and those loads are run by a driver who works for a carrier. There are multiple carriers and they share drivers.
search_drivers_path - Returns all of the drivers that can work with a carrier, based on the group.
Everything works fine in the drop down when creating a load, but when someone goes to edit the record after it has been saved the form uses the carrier_id from the driver instead of the load.
I have the following scenario for a trucking company. The company runs loads and those loads are run by a driver who works for a carrier. There are multiple carriers and they share drivers.
And the following models:
Everything works fine in the drop down when creating a load, but when someone goes to edit the record after it has been saved the form uses the carrier_id from the driver instead of the load.
Can anyone advise?