View screencasts by curated topics.
Dive into the archive of all episodes.
Learn how to test Active Jo...
Setup your development environment.
Configure your production server.
Learn how to modify production to run websockets.
Sending Webhooks in Rails is easy, but what happens when the request fails? You'll need to implement retries and exponential backoff so you don't DoS their service
How to build a custom Rails referral or affiliate program from scratch
How to build nested comments and threads in Ruby on Rails
Implementing polymorphic, reusable comments across models and limiting the nesting allowed for nested comment threads
Using AJAX, we can submit our comments and have them render onto the page without a page refresh.
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.
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
Learn how to implement a Slack Slash Command App in Rails using webhooks
Learn how to add sidebar search filters like Amazon.com using ElasticSearch's aggregations in Searchkick
Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.