Categories
Technology

Ruby or vs ||

I just discovered that there is a difference between

or

and

||

work: variable = this || that
No work: variable = this or that

This is one of those things that when you overlook, it will drive you insane.