RE: Too many columns for list.rhtml to display on one page


#1

removed_email_address@domain.invalid wrote:

<% end %>

............

Sean,

I had the same need, and I solved it like this in my ‘list.rhtml’:

<% for column in Volunteer.content_columns.reject { |r| r.name =~
/date_added/ || r.name =~ /notes/ } %>

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

Hope this helps.

Matt


Matt C. Wagner
Information Security Analyst

Network Intrusion Detection
Security Operations Center
Corporate Information Security
Wells Fargo Bank