gem 'activeadmin', github: 'gregbell/active_admin', branch: 'rails4'
,它工作正常,但..當我點擊複選框對於一些資源,批量操作不會更改爲啓用。我有:
index do |description|
selectable_column
column :id
column :user
column :description
default_actions
end
batch_action :destroy, :confirm => "delete ??", :plural_model => "descriptions" do |selection|
Profile.find(selection).each { |d| d.reset_description! }
redirect_to collection_path
end
and batch action for:destroy。活動管理工作正確的軌道4?
好的我還沒有得到// =在我自己的active_admin.js中需要active_admin/base – Wordica