Skip to content

Cleanup left over Merge Train `cars` being referenced as `trains`

Allison Browne requested to merge ab-merge_train_state_machine_renames into master

What does this MR do and why?

Rename the internal references to merge_train and change them to car in the MergeTrains::Car class.

This was missed by me during the re-alignment.

Here I also clean up references to the legacy table name in chunks of raw sql since in newer versions of ruby/rails we can write this code using no raw sql syntax.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Allison Browne

Merge request reports