lib/table_go/helpers.rb in table_go-0.2.3 vs lib/table_go/helpers.rb in table_go-0.2.4
- old
+ new
@@ -9,7 +9,11 @@
TableGo.render_html(collection, model_klass, self, options, &block)
end
end
end
+ def table_rows_for(collection, model_klass, options = {}, &block)
+ table_go_for(collection, model_klass, options.merge(:render_rows_only => true), &block)
+ end
+
end
end