How do I get rid of extra lines in my output from Rails
Posted
by Dan B
on Stack Overflow
See other posts from Stack Overflow
or by Dan B
Published on 2010-04-09T14:55:23Z
Indexed on
2010/04/09
17:33 UTC
Read the original article
Hit count: 241
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>
© Stack Overflow or respective owner