Skip to main content

How do I create a reply comment system?

Rails • Asked by Jake Yeaton
I have been trying to get the hang of rails and I understand most of Rails but I'm currently stuck on how I would go about and create a reply commenting system. For example, just like on GoRails. 

Can anyone point me in the correct direction?

I have created a standard comment system which was copied from the GoRails episode. 

Thank you ahead of time.

Hey Jake,

Just to make sure I understand your goals, you want to integrate a Comment + Reply model(s) integration with a Rails app? Are you using AJAX?

I'd be glad to assist, just need a little more info. Can you reference which GoRails episode you're
 talking about?

Yes, i'm trying to integrate just that into my rails app. 

 I'm using AJAX. 

Yeah, this episode:

Thank you so much Ryan.

My pleasure. 

Have you successfully re-created the Comments/Modules/Models that Chris went over in the video?  Have you successfully integrated AJAX thus far? Once you understand the workflow that was followed you can simply extend it using another instance(s) of poly associations or simple has_many/belong_to associations.

I will update a git repo with an example this weekend if you need something to look through. In the meantime, if you've got a repo feel free to link to it and I will give it a look.

We can get you squared away.

Yes, I have completed all of that and I will give extending it using another instance(s) of poly associations, etc a try! 

I guess that part that I'm having a difficult time understanding how to accomplish is how to create a Reddit style comment system. So for example, if I reply to you then my comments will show in the view under yours and to the right a little bit. Then you respond and it's under my comment and a little more to the right, ect. 

Do you understand how to accomplish this? 

pieces of jewelry making is an artwork which is the same as animated explainer video making its more different hard work animation is the social works. and in this time animated programme have very high quality in the world.

Grow your personal and business account through social presence with us and get highest rank and famous on social media.
Buy instagram followers uk

hey chris tried to report the above posts as spam and got This page can’t be foundNo web page was found for the web address:

just an fyi

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.