Displaying 1 result from an estimated 1 matches for "consodered".
Did you mean:
considered
2006 Aug 04
1
ActiveRecord, Mysql, NULL columns and uniqueness
Hi all.
Mysql allows to set multiple NULLs on columns with unique constraint,
it''s normal SQL. Well, but when I try to submit some form, all
unspecified values will be consodered as '''' (empty string) and
(Mysql::Error: Duplicate entry occurs (((. How I can teach ActiveRecord
to consider empty fields as NULL?