Closed GeekOnCoffee closed 6 years ago
User.delete_all doesn't actually delete them, causing the re-creation to fail. User.with_deleted.each(&:really_destroy!) is the most effective way I've found so far.
User.delete_all
User.with_deleted.each(&:really_destroy!)
User.delete_all
doesn't actually delete them, causing the re-creation to fail.User.with_deleted.each(&:really_destroy!)
is the most effective way I've found so far.