A big PR that's hopefully not as scary as it looks. The intent is to let dispatchers edit rides. That's complicated by the fact that rides are created out of conversations, due to the SMS legacy of DtV. Rides also reflect data from User objects, so when a ride is edited, it needs to sync the edits across those three objects/tables.
This should get DRY'd up after the election (there are two rides controllers, for example, which should be consolidated), but for now wanted to reduce the number of changes.
Closes #1083. This was undertaken to address 1037 but it doesn't completely close it--you can edit rides from this page, but not assign them.
A big PR that's hopefully not as scary as it looks. The intent is to let dispatchers edit rides. That's complicated by the fact that rides are created out of conversations, due to the SMS legacy of DtV. Rides also reflect data from User objects, so when a ride is edited, it needs to sync the edits across those three objects/tables.
This should get DRY'd up after the election (there are two rides controllers, for example, which should be consolidated), but for now wanted to reduce the number of changes.
Closes #1083. This was undertaken to address 1037 but it doesn't completely close it--you can edit rides from this page, but not assign them.
update, also closes #1087