Is ForumExample ( http://wiki.rubyonrails.com/rails/pages/ForumExample/ ) the best jumping off point for building in basic commenting functionality? Thanks, Greg -- Posted via http://www.ruby-forum.com/.
Hi Greg, if threaded comments are what you are looking after then these instructions look reasonable. For much tasks flat comments, that don''t ''reply'' to another one are good enough, then this would be overkill. If you are interested in threading you might find the acts_as_threaded plugin intersting. It''s got a screencast that explains things. Just google for it... Cheers, Jan On 8/4/06, Greg Ruby <rubygreg@mailinator.com> wrote:> > Is ForumExample ( http://wiki.rubyonrails.com/rails/pages/ForumExample/ > ) > the best jumping off point for building in basic commenting > functionality? > > Thanks, > > Greg > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060804/2dcc00d1/attachment-0001.html
On 8/4/06, Greg Ruby <rubygreg@mailinator.com> wrote:> Is ForumExample ( http://wiki.rubyonrails.com/rails/pages/ForumExample/ > ) > the best jumping off point for building in basic commenting > functionality?Seems overly complex to me. If you have, say, a Posting, and you want to allow people to leave Comments on it, then you''d have a table called comments that has a posting_id, a name and email, and a body. Posting would have_many :comments and Comment would belong_to :posting. See http://media.rubyonrails.org/video/rails_take2_with_sound.mov for the creation of a weblog in fifteen minutes. Joe