Sha256: 44bd9d27974bd00818ca55e115a8f56a47d427094207b560724bea09c2097e23
Contents?: true
Size: 516 Bytes
Versions: 1
Compression:
Stored size: 516 Bytes
Contents
- t = Benchmark.bm(3) do |x| =x.report('haml') do %table %thead %tr %th Title %th Created at %th Updated at %tbody - @posts.each do |p| %tr %td=p.title %td=p.created_at %td.someclass=p.updated_at - t = Benchmark.bm(3) do |x| =x.report('table_for') do - table_for(@posts) do |t, post| = t.column :title = t.column :created_at = t.column :updated_at, :td_options => {:class=>'xy'}
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
king_views-1.2.0 | spec/rails_app/app/views/posts/index.haml |