Sha256: f32bc1f11ebb98bb186c1c0befae773d238a980abdfbc01aaa3413a58a92ee85
Contents?: true
Size: 589 Bytes
Versions: 1
Compression:
Stored size: 589 Bytes
Contents
<%= table_for @products do |t| t.column :title t.column :title, format: :foo_me t.column :title, format: ->(a) { bar_me(a) } t.column :price t.column :price, format: "%08.4f" t.column :active t.column :updated_at t.column :updated_at do |r| r.updated_at.strftime('%d.%M.%Y') end t.association :vendor, :name t.association :tags, :title t.association :tags, :title, format: :bar_me t.association :tags, :title, format: ->(a) { foo_me(a) } t.association :tags, :count, map: false t.action header: "ACTION!" do |t| t.title.upcase end end or "empty" %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tabulatr2-0.6.0 | spec/dummy/app/views/products/stupid_array.html.erb |