Forum: Ruby on Rails question....

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Rob B. (Guest)
on 2006-04-10 20:18
rHTML is

<% for column in Wizard.content_columns %>
  <%=h @wizard.send( %>
<% end %>

It outputs:

Robs Site





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
Edward F. (Guest)
on 2006-04-10 20:40
(Received via mailing list)

You can just skip the 'reflection' part:

<p><%=h @wizard.user_name %></p>


Ed Frederick --
This topic is locked and can not be replied to.