lib/table_cloth/presenters/default.rb in table_cloth-0.2.3 vs lib/table_cloth/presenters/default.rb in table_cloth-0.3.0.beta1

- old
+ new

@@ -13,10 +13,10 @@ end end def render_row(object) wrapper_tag :tr do - v.raw table.columns.inject('') {|tds, (key, column)| tds + render_td(column, object) } + v.raw columns.inject('') {|tds, column| tds + render_td(column, object) } end end def render_td(column, object) td_options = column.options[:td_options] || {} \ No newline at end of file