In a standard scaffold generator, the list.rhtml looks something like this ... <% for column in Book.content_columns %> <th><%= column.human_name %></th> <% end %> How can I modify this code so for each table column add my own name not the "human_name" generated code? -- Posted via http://www.ruby-forum.com/.
N/a N/a wrote:> In a standard scaffold generator, the list.rhtml looks something like > this ... > > <% for column in Book.content_columns %> > <th><%= column.human_name %></th> > <% 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 :P -- Posted via http://www.ruby-forum.com/.