Hi ;
How can I implement self join in Ak?
assume I have the class "Comment" and each Comment has many sub-comment :-)
Thanks alot thanks kaste
generally you have to build the self-join with the same statements as any other association/table-relation. so to speak: a comment has_many subcomments.
But most likely you can build the child/parent-relationship you're describing with the acts_as_tree behaviour.
1 to 2 of 2