Tutorials


Replacing Select2 with Tom Select Stimulus · Cool Request
We all used Select2. We all depended on it for a long time, for all our Select/Autocomplete needs. But it’s been showing signs of aging for quite a while, and it’s one of the last libraries that still keeps me tied to jQuery.It was time to let go....






Full Text Search in Milliseconds with Rails and PostgreSQL
Imagine the following scenario: You have a database full of job titles and descriptions, and you’re trying to find the best match. Typically you’d start by using an ILIKE expression, but this requires the search phrase to be an exact match. Then y...


Railway Oriented Programming In Rails Using Dry-Monads
Error handling is a vital part of every program. It's important to be proactive about what errors might arise in the course of the implementation of a piece of code. These errors should be handled in a manner that ensures output is produced that p...