I am VERY new to the RoR game, but quickly becoming a convert.
I am doing a discussion board application in RoR just to learn RoR.
You all are very familiar with the discussion board domain. Someone
starts a new thread, someone comments on that thread and or starts a
new thread and so on...
I have a table called comments. This table follows all the Railisms
but I have a few questions. What would I call a field in the comments
table that refers BACK to itself (ie the comments table)? This is for
child comments. This would maintain a child/parent relationship for
each of the comments.
Then would I add
in the comments.rb