How do I get rid of extra lines in my output from Rails
- by Dan B
I am using Rails 2.1 to output tables from a database. But the output includes lots of extra lines and tabs. I am using a while loop with lots of nested if statements. I am also wrapping all of my non-output lines in <%- code -%. Any idea what might be happening and a solution? Thanks,
ex:
<tr>
<td>Some data</td>
<td>more data</td>