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

[email protected] wrote:

<% end %>



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

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

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

Hope this helps.


Matt C. Wagner
Information Security Analyst

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

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