Open andreykul opened 7 years ago
Hey @andreykul, thank you for the 5 issues you opened. It's very helpful to me as I am a beginner in web development.
Yes I don't check for uniqueness yet because the probability of getting an already used slug is very small and I don't expect a huge traffic on the website. By the way, it's a feature I would like to add in the future in order to be sure it never happens and to know how to do it.
You are generating a random slug, but you never check for uniqueness, neither in the database or the model.