Do not use "or" and "and" in ruby because of lower precedence

Difference between “or” and || in Ruby

Difference between “and” and && in Ruby