Forum: Ruby on Rails validate_uniqueness_of builds queries with IS NULL when valu

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9871c515e1a284f2861f1d92645fd00a?d=identicon&s=25 Atelier Fabien (Guest)
on 2005-12-14 09:34
(Received via mailing list)
Hi people,

Ever since RC 5 (including 1.0) my unit tests that test for inserting
duplicate entries fail and throw errors. Each of them implements
validate_uniqueness_of to prevent duplicates. While I also put in a
ticket for this, I'm wondering if this is actually a defect or maybe
intended behaviour afterall. If so, I won't apply the patch again and
look for another solution.

Tell me, should I patch it? ;-)


This topic is locked and can not be replied to.