Remove all users except admins or a few select users whichever is easier

 User.where(admin: false).destroy_all

I think should do it. You can do the above without the destroy_all to see what users are selected.