问题
I am continuing my project using the wice grid. The undefined method capable_of_hosting_filter_related_icons?
error was resolved with the help of SO. I am not getting WiceGrid: Missing block for the grid helper..
I was reading through the api and added the other html, id and class attributes. No luck. Below is my view:
-grid(@vendors_grid) do |g|
g.column name: 'ID', attribute: 'ID'do |vendor|
vendor
[...]
link_to('Edit', vendor_index_path(vendor))
回答1:
Try g.column(name: 'ID', attribute: 'ID') do |vendor|
来源:https://stackoverflow.com/questions/33710412/wicegrid-missing-block-for-the-grid-helper