Just briefly, why are the following three lines not identical in their impact?
if @controller.controller_name == \"projects\" || @controller.controller_name
The simple way to get a non verbose solution is
if ["a", "b", "c"].include? x
This actually has nothing to do with ||, but rather what values are considered to be true in ruby. Everything save false and nil is true.
||