Viewer Problem

In a standard scaffold generator, the list.rhtml looks something like
this …

<% for column in Book.content_columns %>

<%= column.human_name %>
<% end %>

How can I modify this code so for each table column add my own name not
the “human_name” generated code?

N/a N/a wrote:

In a standard scaffold generator, the list.rhtml looks something like
this …

<% for column in Book.content_columns %>

<%= column.human_name %>
<% end %>

How can I modify this code so for each table column add my own name not
the “human_name” generated code?

Done that with a partial form :stuck_out_tongue:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs