I think in this case it doesn't make any difference, but there is a subtle difference between how 'or' behaves and how '||' behaves. Because of this I always use || because it meets my expectations. You can ready more about it here: http://devblog.avdi.org/2010/08/02/using-and-and-or-in-ruby/