Topic: Confused by has_many, habtm, has_many_polymorphs...
I'm new to rails, coming from Java/hibernate, and i just cant figure out how to model my data.
I have a sites linkmap.
You have different type of sites (blogs, sellers...) all with different data.
Each site can have links pointing to other sites.
As far as i can tell, i have ManyToMany, with polymorphics.. and i cant figure out how to model it (there are plenty of ManyToMany without polymorphics, or polymorphics with just 2 type with "as")
Can someone clear this up for me?
Thanks in advance.