lib/tablesmith/table.rb in tablesmith-0.2.1 vs lib/tablesmith/table.rb in tablesmith-0.2.2

- old
+ new

@@ -126,9 +126,12 @@ class Array def to_table b = Tablesmith::Table.new(self) + # TODO: redesign such that every row is reacted to appropriately, + # so mixed content could be supported. Maybe every cell could be + # rendered appropriately, with nested tables. if defined?(ActiveRecord) && defined?(ActiveRecord::Base) if b.first && b.first.is_a?(ActiveRecord::Base) b.extend Tablesmith::ActiveRecordSource end end \ No newline at end of file