Mastering Non-ActiveRecord Validations in Rails: A Practical Guide
Learn how to build lightweight, non-ActiveRecord models with ActiveModel validations in Rails. This guide covers practical use cases like contact forms, reus...
Learn how to build lightweight, non-ActiveRecord models with ActiveModel validations in Rails. This guide covers practical use cases like contact forms, reus...
PostgreSQL offers powerful full-text search capabilities, eliminating the need for complex tools like Elasticsearch in many Rails apps. This guide walks you ...
Discover how Hanami 2.0 to 2.2 is redefining web development with its modular design, built-in websockets for real-time apps, seamless dry-rb integration, an...
Exciting features of Rails 7.1
Sometimes you’ll have to create a deeply nested hash without knowing how deep it can be at first. This hash should allow reading and setting values at any le...
Most people using Ruby nowdays are using it for Rails. They often defined themselves has ‘Rails developers’, not ‘Ruby developers’. I’m an early adopter of R...
Following the mass and using de-facto libraries isn’t always the best choice. Here are some thoughts about handling translation of data stored in database wh...
Last week I wrote about settings up Sikekiq in Hanami. Another gem I often use is I18n since it allows to localize strings and keep them separated from my co...
One of the gems I often use in my Ruby on Rails projects is Sikekiq. For those of you who don’t know about it, it allows to easily manage background processes.
Using a vendor library may require to load a shared library. Here’s how to do it in RubyMotion.
As you may know since a couple of month you can write native Android apps using RubyMotion.
Couple months ago I was working on my personal website that I decided to re-write from scratch since most of the existing things had to be scratched off and ...
You’ll sometimes have to use the notion of infinity in your Ruby code. There isn’t any way to directly use infinity in Ruby, at least none that I know of… Bu...
Thor is a simple and efficient tool for building self-documenting command line utilities. I’m a shell guy, I use a terminal everyday and most of my job is do...
Having a clear and well-defined default stack when you start a new project is a good thing — it will have an impact on your productivity and happiness. I’ll ...
Ruby is a very dynamic language which allows you to do things like encapsulate a piece of code in an object. This is a really powerful capability you can use...
Sometimes it can be very useful to add verbose and silent modes to your app. This way users can easily control information level about events happening. As y...