I am using
ActiveRecord::RecordNotFound at /admin/groups/username20-s-group-1
There are cases, when application has quit a few resources, hence in order to keep it DRY there is a nice solution requiring few lines of code for whole application - simply override activeadmin's resources controller.
config/intializers/active_admin.rb file and put the following there:
ActiveAdmin::ResourceController.class_eval do def find_resource return scoped_collection.where(slug: params[:id]).first! if resource_class.is_a?(FriendlyId) scoped_collection.where(id: params[:id]).first! end end