How do you make a form out of a polymorophic table?
问题 I am trying to create a comment that could comment on other comments but are all derived from a single post. What is especially troubling for me is trying to figure out how to make it so that this can all be achieved in the post show and not its edit or new. Is this archtecturally reasonable? That way I can access it via Post.comments , or Comment.comments etc. or Comments.parent My Models: #comment.rb belongs_to :post belongs_to :parent, :class_name => 'Comment' has_many :children, :class