DEV Community

NoFoster
NoFoster

Posted on

TIL 5/27/26

Tomato Crusher (working title) Test-Build-Resolution Tracker

I'm taking the approach of build, test, fail, iterate. This will be a short-hand recap of tests, what went wrong, and what the fix was. Stream of Consciousness style

  1. Show page first test -> NoMethodError -> had to add .to_a to code because the .at(0) pulls an array, so the data had to be converted 2. Attempt to add destroy function to HabitController -> No Route matches get -> updated link URL to match route URL 3. Destroy record attempt -> NoMethodError -> array fix as used in attempt 1 on this post 4. Pomodoro Session Page first try -> ActionView::Missing Template -> Needed to update view folder to be pomodoro_session_templates 5. Testing the Start Timer Button -> timer did not count down -> pomodoro.js was nested in an erroneously created folder

Top comments (0)