I have a DiscJockey and a Member model, each of them reference each
other using habtm.
josh $ script/server
m=Member.find 1
dj=DiscJockey.find 1
m.disc_jockeys << dj
m.disc_jockeys << dj
m.disc_jockeys << dj
Now I have 3 relations in the DB! Is this normal? Shouldn’t there an
error occur, that I can only add the object a single time?
If it IS normal - how can I prevent it from adding it more than once?