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! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---