app/helpers/table_builder_helper.rb
# TODO: rename this after migration from `table_builder`
rename this after migration from `table_builder`
rename this after migration from ` table_builder `
def tbody(collection, columns, selectable, links, overhead, model = nil, action)
    model_name = TableBuilderHelper.item_row_class_name collection, model
    content_tag :tbody do
      collection.map do |item|
        tr item, columns, selectable, links, overhead, model_name, action
      end.join.html_safe
    end
  end
def tbody ( collection , columns , selectable , links , overhead , model = nil , action ) model_name = TableBuilderHelper . item_row_class_name collection , model content_tag :tbody do collection . map do | item | tr item , columns , selectable , links , overhead , model_name , action end . join . html_safe end end
TODO: rename this after migration from `table_builder`
TODO : rename this after migration from ` table_builder `
collection
columns
selectable
links
overhead
model
action