我安装了wice_grid gem。安装没有给我任何错误。但是,当我尝试在代码中使用网格时,在加载应用程序页面时出现此错误:
undefined method `tag_options' for #<#<Class:0x569a108>:0x5670780>
Did you mean? with_options
提取的来源(第37行附近)
<%=
grid(@users_grid) do |g| # this is line 37 which throws an error
g.column name: 'First Name' do |p|
p.first_name
end