ruby on rails - Active admin - checkbox doesn't make batch action enabled -
i install
gem 'activeadmin', github: 'gregbell/active_admin', branch: 'rails4'
and works fine but.. when click on checkbox resources, batch action doesn't change enabled. have:
index |description| selectable_column column :id column :user column :description default_actions end batch_action :destroy, :confirm => "delete ??", :plural_model => "descriptions" |selection| profile.find(selection).each { |d| d.reset_description! } redirect_to collection_path end
and batch action :destroy. active admin works correct in rails 4?
had same problem, first comment of op solved me: add
//= require active_admin/base
to
active_admin.js
Comments
Post a Comment