Hey,

Have a look at: http://gist.github.com/313029

cheers
snusnu

On Tue, Feb 23, 2010 at 00:05, trans <transf...@gmail.com> wrote:
>  class Thing
>    has n, :ownerships
>    has n, :owns, :through => :ownerships
>  end
>
>  class Ownership
>    belongs_to :owner, :model => Thing
>    belongs_to :owns,  :model => Thing
>  end

-- 
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.

Reply via email to