Skip to content

Fix NoMethodError in MergeTrains::CarFinder

What does this MR do and why?

Anonymous users calling the merge trains API were causing NoMethodErrors.

See #417605 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Run the new test with the old code. Observe that it fails
  2. Run the new test with the new code. Observe that it passes

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 Hordur Freyr Yngvason

Merge request reports