Tutorials



Building a Real-Time Chat App in Rails Using ActionCable and Turbo
having to refresh the page? This kind of real-time functionality is achieved on most applications using JavaScript frameworks, such as React via state management. Most of these applications function as single-page applications, as they do not requ...



Use compact_blank to remove empty strings from Arrays and Hashes - Andy Croll
Active Support is a library of “useful” things that support (!) the other parts of Rails. It includes ways to extend the base Ruby classes, such as Hash, String and Integer.Even the most experienced Rails developer is constantly finding helpful me...



How to build a search engine with Ruby on Rails: Introducing the Whereable design pattern
You don’t hear this one every day: I just made a critical database query 10x faster by moving the bulk of the complexity out of SQL and back into Ruby. This post will explain how I did it, plus how you can apply a similar approach to rethinking se...