I’m trying to build a routine that generates table rows with the
field types (text_area and text_field for now), and filters out the
‘created_at’ and ‘deleted_at’.
<% for column in Project.content_columns %>
<tr class=“ListLine<%= cycle(“0”,“1”) %>”>
## The line below
<% if column.string %>
<% elsif column.text %>
<% end %>
Is there a cleaner way then doing and elsif sequence, and what is the
attribute name (‘type’ in this case) of a column. Been messing with
column.string but that doesn’t work.
Thanx n Greetz
“Who cares if it doesn’t do anything? It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process …”
My $Grtz =~ Gerard;