Tutorials

8 Learn new things easily - mapping Rails to Hanami
Recently I gave a talk on Saint P Ruby meetup and as I've got nice feedback, I've decided to extract one interesting part to an official Hanami Mastery episode.This talk, and this episode, was sponsored by Useo.It was an extremely nice experience ...



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...