Sha256: 4ec596dd2aee97873e2c6e33bbe98fb432a59d99fd8c9ea606ec3a6d666eb231
Contents?: true
Size: 396 Bytes
Versions: 5
Compression:
Stored size: 396 Bytes
Contents
<%= grid(grid, show_filters: :always) do |g| g.column name: 'ID', attribute: 'id', filter: false g.column name: 'Status Name', attribute: 'name' g.column name: 'Created' do |status| status.created_at.to_fs(:db) if status.created_at end g.column name: 'Task Count', attribute: 'task_count', sort_by: ->(status) { status.tasks.count } do |status| status.tasks.count end end -%>
Version data entries
5 entries across 5 versions & 1 rubygems