search for: attribute_cleanup

Displaying 1 result from an estimated 1 matches for "attribute_cleanup".

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?