4 5 6
# File 'lib/table_for/view_additions.rb', line 4 def table_for(records, options={}, &block) TableFor::Base.new(self, options.merge(:variable => "table", :records => records)).render_template("table_for/table_for", &block) end