I want to use gem best_in_place in active_admin for in-place editing. However, whenever I press Enter, it seems that active_admin captures that events and directs to XXXController's batch_action method. which is not found...
However, if after editing. I click a blank area..the best_in_place works and the database is updated...
So..how to fix it?
A bit late but for everyone who comes here via Google:
ActiveAdmin.register Product do
config.batch_actions = false
...
end
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.