activeadmin: Batch Action greyed out and not working

I’m using the latest version of Active Admin (gemfile leads to gem “activeadmin”, :git => “git://github.com/gregbell/active_admin.git”) and in my Active Admin site, the Batch Action option is showing. However it’s greyed out and it’s not set to false in the config file. I tried to add a batch again to my mode programs:

batch_action :save do |selection|
  Program.find(selection).each do |program|
    program.save
  end
end

But that’s not showing up either and I’m not sure if it’s the right syntax (the :hot confuses me). Does anyone know how to fix this?

About this issue

  • Original URL
  • State: closed
  • Created 12 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Had same problem, found as java script issue; solved with,

rails generate active_admin:assets

and this worked !! https://github.com/gregbell/active_admin/issues/309