Let's say you have a simple query in Rails which goes like this
a = 42
Klass.where("`column_1` = ? OR `column_2` = ? OR `column_3` = ?", a, a, a)
Can this be done more elegantly so that you don't need to type a, a, a
three times? It works fine but it looks horrible.