rails/rails — comment on commit 4ef74536940ea4c8c7f8c2cb0252bfe5f0db6fdf
File:  line 0
By mkdynamic:

Well, it says to prefer `&&` / `||` vs. never use `and` / `or`.

In the example above, I think this would be an exception where `and` is the better choice. It's probably one of the few times it makes sense :)