View screencasts by curated topics.
Dive into the archive of all episodes.
Add onboarding steps for ne...
Setup your development environment.
Configure your production server.
Learn how to modify production to run websockets.
Learn how to link to the current page and add, remove, or modify params in the URL. This is handy for things like search or index pages with filters.
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
Pagy is 29x faster at pagination in their benchmarks which makes it an ultra fast and lightweight pagination library
Taking the ERB code we wrote for simple_calendar and finding the right balance of Ruby and ERB for our gem
Learn how to build an activity feed from scratch and how to manage lots of flexible partials
Join 20,000+ developers who get early access to new screencasts, articles, guides, updates, and more.