Hi All
Still a total novice to rails but I feel I am beginning to make some progress! I have built a few sections of my app and thought that I would run 'rake' to see if there were any major issues.
Now as I understand it this just runs the most basic test possible - untill I define some (which I havent yet)
running rake returned a whole bunch of errors (8 in all) the bulk of which take the form of:
1) Error: test_new(PatientsControllerTest): ActiveRecord::StatementInvalid: Mysql::Error: Duplicate entry '' for key 2: INSERT INTO patients (`id`) VALUES (1)
And I have an auto-incrementing primary key defiined
Help would be gratefully recieved!