Rails: make sure you have proper DB indexes for your model’s unique validations
An article shows 2 solutions how Rails model’s unique validations should be implemented to save performance https://medium.com/@igorkhomenko/rails-make-sure-you-have-proper-db-indexes-for-your-models-unique-validations-ffd0364df26f
Post a comment