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