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...
When it comes to Emacs and emails reading, one of the most popular options is Gnus. Let’s see how to configure it for multiple IMAP / SMTP servers without us...
PostgreSQL offers powerful full-text search capabilities, eliminating the need for complex tools like Elasticsearch in many Rails apps. This guide walks you ...
A lot of people struggles to find how to instruct their Mac OS GUI apps to be aware of their PATH environment variable. Sometimes when you install GUI apps t...
Couple weeks ago I switched from RVM to rbenv because I think it’s a cleaner and faster way to handle Ruby versions. It is more respecful of the Unix philoso...
Elixir and Erlang comes with so much tooling that most of the time you’ll be able to do what you need to without having to depend on any external software.
Learn how to build lightweight, non-ActiveRecord models with ActiveModel validations in Rails. This guide covers practical use cases like contact forms, reus...
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.
I recently got a Raspberry Pi 2 so I wanted to experiment with home automation, surveillance system, movement detection and stuff like that.
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...
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 ...
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...
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...
On Friday I was having slowdowns on Textmate focus. I never had this problem before and this “bug” was only happening on this given project. I had to wait fo...
Learn how to build a lightweight and flexible API in Elixir using Plug! This post dives into advanced techniques, like parsing JSON requests and crafting dyn...
When writing Elixir code you’ll often find yourself typing the pipe operator which is not very convinient. Let’s see how to ease this in Emacs.
Elixir and Erlang comes with so much tooling that most of the time you’ll be able to do what you need to without having to depend on any external software.
You’ve probably heard that in Elixir you should let processes crash rather than trying to catch every possible exceptions. Then, after a crash, you only have...
Sometimes when you’re writing a Phoenix app you want to split your translation files to avoid having one big file with everything inside but rather having on...
When writing Elixir code you’ll often find yourself typing the pipe operator which is not very convinient. Let’s see how to ease this in Emacs.
You’re experiencing excessive lag and timeouts when using Tramp on remote servers through SSH. Here is the solution to one of the most common cause.
Last week a workmate did me a pull request where he wanted to merge a fully new “develop” branch into “master”. The thing was that he realized that he has to...
When it comes to Emacs and emails reading, one of the most popular options is Gnus. Let’s see how to configure it for multiple IMAP / SMTP servers without us...
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.
Sometimes when you’re writing a Phoenix app you want to split your translation files to avoid having one big file with everything inside but rather having on...
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...
I18nFloat is a Ruby gem to use with Rails. I18nFloat allows your users to use format number like “1 200,84” in forms. ActiveRecord Float attributes don’t car...
Googlus is a Ruby wrapper around Google URL Shortener REST API.
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...
I18nFloat is a Ruby gem to use with Rails. I18nFloat allows your users to use format number like “1 200,84” in forms. ActiveRecord Float attributes don’t car...
Googlus is a Ruby wrapper around Google URL Shortener REST API.
Sometimes when you’re writing a Phoenix app you want to split your translation files to avoid having one big file with everything inside but rather having on...
Learn how to build a lightweight and flexible API in Elixir using Plug! This post dives into advanced techniques, like parsing JSON requests and crafting dyn...
PostgreSQL offers powerful full-text search capabilities, eliminating the need for complex tools like Elasticsearch in many Rails apps. This guide walks you ...
PostgreSQL offers powerful full-text search capabilities, eliminating the need for complex tools like Elasticsearch in many Rails apps. This guide walks you ...
Exciting features of Rails 7.1
Knowing how to use the Rails console can be very useful when debugging or trying your snippets. Being proficient with it will increase your productivity.
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...
I18nFloat is a Ruby gem to use with Rails. I18nFloat allows your users to use format number like “1 200,84” in forms. ActiveRecord Float attributes don’t car...
Googlus is a Ruby wrapper around Google URL Shortener REST API.
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...
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...
Learn how to build lightweight, non-ActiveRecord models with ActiveModel validations in Rails. This guide covers practical use cases like contact forms, reus...
Sometimes after upgrading RubyMotion I face some bugs introduced in the new release. It can be bugs which can easily be worked around or really annoying bugs...
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.
You’re experiencing excessive lag and timeouts when using Tramp on remote servers through SSH. Here is the solution to one of the most common cause.
Let’s see how SourceHut helped me to automate my blog updates.
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...
When Rails 4 was released it offered a bunch new features and deprecations :
As you may notice I’m a big fan of Mercurial which is a great DSCM a lot more easier to learn and use than Git in my opinion.
Chef is a Ruby Gem which aims to help sys admins in the process of managing servers.
Couple weeks ago I switched from RVM to rbenv because I think it’s a cleaner and faster way to handle Ruby versions. It is more respecful of the Unix philoso...
Let’s see how SourceHut helped me to automate my blog updates.
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...
A lot of people struggles to find how to instruct their Mac OS GUI apps to be aware of their PATH environment variable. Sometimes when you install GUI apps t...
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...
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...
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...
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 ...