Is ForumExample ( Peak Obsession
)
the best jumping off point for building in basic commenting
functionality?
Thanks,
Greg
Is ForumExample ( Peak Obsession
)
the best jumping off point for building in basic commenting
functionality?
Thanks,
Greg
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 R. [email protected] wrote:
Is ForumExample ( Peak Obsession
)
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
Thanks Joe.
I just watched that. I’m new and am having to
adjust to how straight forward coding RoR is.
Greg
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs