If you are just doing friendships, I made a gem for this that also ads
some convenience methods: https://github.com/RipTheJacker/dm-is-friendly

On Dec 18, 9:07 am, Martin Gamsjaeger <[email protected]> wrote:
> I've added the code and a bit more explanation 
> tohttp://datamapper.org/docs/associationstoo
>
> Have a look at the section about self referential relationships.
>
> cheers
> snusnu
>
>
>
> On Sat, Dec 18, 2010 at 13:02, selman <[email protected]> wrote:
> > problem solved, thanks a lot snusnu. he helped over irc and this is
> > the his solutionhttp://pastie.org/1386974
>
> > On Dec 17, 5:39 pm, selman <[email protected]> wrote:
> >> hi,
>
> >> as seen on this gisthttps://gist.github.com/745115Iwant to see
> >> followers after added a follow from Friendship table. readed
> >> documentation and the source code but can't find any solution.
>
> >> waiting your helps
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "DataMapper" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/datamapper?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to