mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-12 18:31:40 -04:00
Strictly speaking this doesn't prevent you adding them if you really try, but the validation for that was beyond what I could figure out (the docs don't help, and all SO/blog posts are outdated and didn't work). However, if you do somehow manage to add dups, you will never see them again thanks to the :uniq => true in the model. That's good enough for me.