this is a custom action for rails_admin.