How to build a complete, real-world application from scratch with Ruby on Rails step by step.
A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.
Accept subscription and one-time payments with Stripe in your Rails apps
Expert advice on keeping Rails apps organized and fast.
Cheap, easy hosting for Ruby and Rails apps.
Launch your product business way faster with our SaaS template.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
A few of the Open Source projects we do at GoRails.
Build a Ruby on Rails app in 48 hours with us.
Help Junior developers get hired by sharing small projects to build their resume with paid work.
Find your next Ruby on Rails Job.
Custom targets allow us to render nested comments, update forms, and append new comments with Turbo stream events using Hotwire
Starting our Embeddable JS Widget series outlining the comment and discussion models and the basic webpacker setup
Adding pagination to our nested comment threads is easier than you might think, plus we'll take a look at a couple different approaches we can use
Nested comment threads pose a lot of unique challenges. One of these is deleting comments because you can easily lose the child comments or context. We'll take a look at a couple great ways of handling this.
Using AJAX, we can submit our comments and have them render onto the page without a page refresh.
Implementing polymorphic, reusable comments across models and limiting the nesting allowed for nested comment threads
How to build nested comments and threads in Ruby on Rails
Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.