Sha256: 22fa8a7ea2699aa089da003a3983529bf9c2cf75deec7fd1d4b7cc665f37a633
Contents?: true
Size: 596 Bytes
Versions: 15
Compression:
Stored size: 596 Bytes
Contents
<%= static_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
15 entries across 15 versions & 1 rubygems