Closed mboneil10 closed 6 years ago
Will be a better fix for #54 and #52
Current branch for the rewrite is rewrite
. What's left of this issue:
description
attribute which shows up on the edit page (related to #52)@dfaulken, @jforgue, @sherson let me know if I'm forgetting anything.
In any case, I'm working on the controller.
Closing this and making separate issues with the rewrite milestone
Here are the steps involved: 1) Write Field and BusStopField (BSF) Models. 2) Add existing columns for BusStop to Field models in seeds, then reseed. 3) Write rake task. Take all existing columns into BSF. Involves 20 or 30 lines. 4) Rewrite whole site to use new models (not including tests). 5) Run the migrations from step 1 in production. 6) Run the rake task from step 3 in production. 7) Migrate away (remove/drop) now disused columns.
To note: the system tests should behave the same. And since we don't have any unit tests, we don't have to rewrite those! This change will help us with present issues as well as in the future, when there are new fields requested, or need to edit fields.