lib/trestle/table/row.rb in trestle-0.8.10 vs lib/trestle/table/row.rb in trestle-0.8.11

- old
+ new

@@ -18,10 +18,10 @@ def initialize(row, template) @row, @template = row, template end def columns - table.columns.map { |column| column.renderer(@template) } + table.columns.map { |column| column.renderer(@template) }.select(&:render?) end def render(instance) @template.content_tag(:tr, options(instance)) do @template.safe_join(columns.map { |column| column.render(instance) }, "\n")