First page Back Continue Last page Overview Graphics


(5 secs) The solution to this is to not use a logical or operator, but to switch to using the fetch method.

If you aren't using a hash, instead of fetch you should use a conditional, such as the ternary operator.

The basic principle is that anytime nil or false can be a valid value, you can't use the logical or operator.

Any questions about this reminder?