HABTM Duplicate entry error

Problem is solved!

FYI - in the migrations

create_table :tablename, :id => false

:id => false being the key there