restricting list columns

Andrew Stone
2005-07-30T17:20:38Z

After scaffolding I would like to change the list pages to be more
restrictive.  I have done the following:

replace content_columns with list_columns in the list.rhtml and
defined list_columns as:

  def self.list_columns
    columns.reject {|c| case
                          when c.name == "name" : false
                          when c.name == "created_on" : false
                          else true
                        end
    }
  end

I there a better way to do this, or is this sufficient?

thanks,
andy
--
Andrew Stone