我想使用活动管理 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)