Thanks for the tip. I tried your suggestion and still had the problem.
After much head scratching, etc I discovered that Sqlite 3.3.8 on
Windows is not playing nice with Rails. I went back to Sqlite 3.3.6 and
it worked fine. So for some reason, Sqlite 3.3.8/Rails is setting
default values for EVERY field and the string default values are
incorrectly set as ‘’ (two single quotes - string length 2).
I guess that’s why we have unit tests!
Jonathan V. wrote:
Check that your test database is in sync with the development one.