lib/table_cloth/presenters/default.rb in table_cloth-0.2.1 vs lib/table_cloth/presenters/default.rb in table_cloth-0.2.2

- old
+ new

@@ -18,10 +18,10 @@ v.raw table.columns.inject('') {|tds, (key, column)| tds + render_td(column, object) } end end def render_td(column, object) - td_options = column.options.delete(:td_options) || {} + td_options = column.options[:td_options] || {} value = column.value(object, view_context, table) if value.is_a?(Array) options = value.pop value = value.shift \ No newline at end of file