search for: d1e1fa

Displaying 1 result from an estimated 1 matches for "d1e1fa".

Did you mean: 1e1a
2010 Apr 08
4
NameError - Problems with if-else
...else. I think there is a mistake in line 8. How could this work. What do i have to write? 5: <% for article in @articles %><br /> 6: <table> 7: <%= h article.gender %> 8: <%- if (h article.gender = Male) -%> 9: <table style="background-color:#d1e1fa;"> 10: <% else %> 11: <table style="background-color:#111111;"> I hope somebody can help me. Thanks Mark -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email...