You should use `&&` and `||` instead of `and` and `or`: They have different binding precedence, so the keyword versions can produce unexpected results sometimes.

See also the thoughtbot style guide: https://github.com/thoughtbot/guides/tree/master/style#ruby