Hi-- How do I define a self-referential join? Something like:
class Thing has n, :ownerships has n, :owns, :through => :ownerships end class Ownership belongs_to :owner, :model => Thing belongs_to :owns, :model => Thing end Or is it just: class Thing has n, :things, :through => Resource end Thanks. -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to datamap...@googlegroups.com. To unsubscribe from this group, send email to datamapper+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.