我想使用活动的Admin gem中的自定义链接编辑产品
我试过
column do |show|
links = ''.html_safe
links += link_to "Edit", edit_admin_show_path(show)
links += ' '
links += link_to "Del", admin_show_path(show), :confirm => 'Are you sure?', :method => :delete
links
end
但我得到了错误 缺少属性:category_id 提取的来源(第1行): insert_tag renderer_for(:edit)