<%= grid(@documents_grid, upper_pagination_panel: true) do |g| g.column name: 'ID', attribute: 'id' g.column name: 'Name', attribute: 'name' end %>