Column.name question

rHTML is

<% for column in Wizard.content_columns %>

<%=h @wizard.send(column.name) %>

<% end %>

It outputs:

Robs Site

Heading

logo.jpeg

London


Bascally 1 line for each column in the database. How do I edit the
rhtml so I can break up the output?
For instance JUST have ‘Robs Site’ display nothing else. That mysql
column is called user_name

Rob,

You can just skip the ‘reflection’ part:

<%=h @wizard.user_name %>

Ed Frederick – edwardfrederick.com