I swear, Rails is gaslighting me

Blog

I add a test and run it. It fails. Fine, I walk through the code, step by step, line by line, and figure out where the error is.

I add unneeded parentheses to the return statement and run the test again. It passes. Great!

I remove the unneeded parentheses, and run the test. It fails. Okay.

Add new comment