Is there a way to make this look a little better?
conn.exec \'select attr1, attr2, attr3, attr4, attr5, attr6, attr7 \' + \'from table1, table2, ta
If you do mind extra spaces and newlines, you can use
conn.exec %w{select attr1, attr2, attr3, attr4, attr5, attr6, attr7 from table1, table2, table3, etc, etc, etc, etc, etc, where etc etc etc etc etc etc etc etc etc etc etc etc etc} * ' '
(use %W for interpolated strings)