search for: fork_tree

Displaying 1 result from an estimated 1 matches for "fork_tree".

2009 Sep 01
5
Deep nested associations on the same Model
This could be a lot simpler than I think and I''m just missing something obvious! I''m working on a creative collaboration app whereby one user could submit a Story and this can then be forked by another user and worked on seperately. To acheive this I have a has_many association within the same Story model as such: class Story < ActiveRecord::Base has_many