Polymorphic has_many self-referential?

I would use the has many polymorphs plugin since it supports double sided polymorphism you can do something like this: class Relating true belongs_to :relative, :polymorphic => true acts_as_double_polymorphic_join( :owners => :articles, :videos, :photos, :relatives => :articles, :videos, :photos ) end and don't forget the db migration: class CreateRelatings true t. References :relative, :polymorphic => true end end def self. Down drop_table :relatings end end I don't know if "Relating" is a good name, but you get the idea.

Now an article, video and photo can be related to another article, video or photo.

Script/console I get it to add the related items and the ids work correctly however the source_type and related_type are always the same (the object that related_items was called from) I want the related_item to be the other model name. Any ideas anyone?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions