A tiny article to explain the daily workflow when working with Rails and Bootstrap
Posted May 06, 2021 ‐ 2 min read
The "switch" statement in Ruby is actually made by a case/when statement. Let's see how.
Posted April 27, 2021 ‐ 5 min read
In the Ruby-on-Rails word, they are known as templating languages. Let's compare each other and pick a winner.
Posted April 19, 2021 ‐ 2 min read
Private methods exist for a reason. However they can lead to tricky situations. Here is a quick hack about private methods in Ruby.
Posted April 13, 2021 ‐ 4 min read
Let's imagine what Rails 7 could be.
Posted April 08, 2021 ‐ 7 min read
Customise Bootstrap with Rails is not very complicated : Bootstrap v5 opened wide the doors (and variables file) to make it easy.
Posted April 06, 2021 ‐ 4 min read
Webpacker and Sprockets both try to manage the frontend assets of Ruby-on-Rails applications. They are both integrated inside default Rails applications. But they're doing the same job actually, so after 4 years of using both, it's time to choose.
Posted April 01, 2021 ‐ 5 min read
More often than not, you have to check if an object is empty. But what does "empty" means exactly ?
Posted March 30, 2021 ‐ 8 min read
Tailwind and Bootstrap are the most used CSS framework by now. Let's see how they compare - with the bias of a Ruby-on-Rails developer point of view.
Posted March 26, 2021 ‐ 4 min read
Rails is a full-stack web framework, based on Ruby. If you want to learn Rails and you already have some coding experience, here are my opinions. As any opinion, it can be widely discussed :)
Posted March 22, 2021 ‐ 8 min read
This article is about "how to unit test a rails controller". I'm showing an attempt to do so, and why I finally stick to "the Rails way".
Posted March 18, 2021 ‐ 4 min read
In this article, we will see how to create a new Rails application, with all available options. There's also a fantastic --minimal option.
Posted March 16, 2021 ‐ 7 min read
ActiveSupport is one of the components of Ruby on Rails. As its name suggest, it "supports" applications by providing many utilities like encrypting, querying data, callbacks, security utilities, and a lot more.
Posted March 11, 2021 ‐ 3 min read
I have never followed the "no-jquery" hype. But let's face it, even the giants are removing jQuery from their stack. Rails 6 now works without jQuery. Bootstrap 5 now works without jQuery. Maybe it's time to reconsider.
Posted March 08, 2021 ‐ 2 min read
A short tutorial. Learn how to integrate last Bootstrap 5 version into Ruby-on-Rails. Using webpack(er).
Posted March 02, 2021 ‐ 5 min read