Menu

Post image 1
Post image 2
1 / 2
0

TIL 5/27/26

DEV Community: ruby·NoFoster·3 days ago
#hdwLu2Dw
#dev#test#attempt#build#first#photo
Reading 0:00
15s threshold

NoFoster

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
Read More