Blog
Ruby-on-Rails bullet gem tutorial
Rails bullet gem is here to solve the N+1 query problem. Let's create this problem first, and solve it thanks to the Rails bullet gem.
Posted January 2, 2023 - tagged ruby-on-rails
5 min read
Ruby Split Array
Split is a very common method not only in Ruby, but also in the programming world. Let's see what does .split means for a Ruby Array.
Posted December 22, 2022 - tagged ruby
3 min read
Rails console command made easier
A short article about how to simplify the Rails console command thanks to the aliases file.
Posted December 19, 2022 - tagged rails
5 min read
Sort a Ruby array
A short article about how to sort an array in Ruby. It's a classic problem in other languages too, so let's explore the Ruby case.
Posted December 15, 2022 - tagged ruby
3 min read
Ruby multiline String
We will explore multiple scenarios where the display of a simple String in Ruby on multiple lines could be useful.
Posted November 7, 2022 - tagged ruby
3 min read
Rails pundit tutorial
Authorization is an important part of any SaaS. Let's see what it means, and how to implement it with the pundit gem for Rails.
Posted October 31, 2022 - tagged ruby-on-rails
13 min read
Ruby ternary operator
Many languages have a ternary operator, including Ruby. The goal is to reduce the size of the code by displaying a one-line condition. Let's see how.
Posted October 24, 2022 - tagged ruby
3 min read
Ruby-on-Rails and SvelteJS tutorial
SvelteJS is a very promising JavaScript tool that gained traction recently. For those who don't like Hotwire for Ruby-on-Rails, it sounds a good alternative.
Posted October 17, 2022 - tagged ruby-on-rails
7 min read
Ruby Substring
Ruby is an elegant and dynamic language. Today a simple topic about how to extract a Substring from an existing String in Ruby.
Posted October 10, 2022 - tagged ruby
4 min read
Ruby-on-Rails authentication tutorial with Devise
Ruby-on-Rails has no built-in authentication mechanism. So let's pick the well-known gem Devise in this tutorial.
Posted October 3, 2022 - tagged ruby-on-rails
8 min read