object of instance with "'''''''NULL'''''''" default value in not null column

Hi all,

I have a model with not null columns, but when I create a new instance of this model, i get a default value "'''''''''''NULL''''''''''''''" in each column with the NN constraint.

How can I remove it, because it is not very user friendly in my views :slight_smile:

Best regards,

Stephane Wirtel

Which version of Rails are you using? Are you using sqlite3? I remember a bug with quoting when using sqlite3 that would continue putting extra quotes around strings.

Dan Manges http://www.dcmanges.com