The #descendants method is part of Rails. It returns all subclasses that inherit from a given class. In this article, Jonathan Miles shows us how to use this method and how it's implemented. It's a great lesson in the ins and outs of Ruby's object model.
If you're a developer working with web hooks, you should definitely check out our new product, Hook Relay.
If someone steals your password, they can pretend to be you. That's why many companies provide two-factor or multi-factor authentication via a fingerprint scan, a YubiKey, an authenticator app, or SMS. In this article, Petr Hlavicka will give you a solid foundation of knowledge about multi-factor authentication and will walk you through implementation with Rails, Webauthn, and Devise
Turbo and ActionCable make it a snap to create Rails applications that respond to user behavior in real-time. In this article, Abiodun shows us how to use them together to create a full-featured chat application in Rails.
When you do calculations with money, every penny needs to be accounted for. Unfortunately, JS's Number type isn't up to the task. In this article, Julio Sampaio shows us why and teaches us how to do currency calculations the right way in JavaScript.