Rails, Cypress : testing the whole stack is definitely easier

Cypress is a well-known tool for JavaScript developers. It allows elegant end-to-end testing of any application. For Ruby-on-Rails, it's an extremely relevant tool to use.

Posted January 24, 2022 - tagged ruby-on-rails

Last update : January 24, 2021 8 min read

Ruby, map with index

There's always a tiny doubt about how to "map with index" when using Ruby. Let's see how, and we're also going back to basics of Ruby map in this article.

Posted January 20, 2022 - tagged ruby

Last update : January 20, 2021 6 min read

ViteJS, Rails : a wonderful combination

vite_rails is a fantastic gem that completely drop the need for jsbundling, Webpacker, importmaps and/or Sprockets.

Posted January 17, 2022 - tagged ruby-on-rails

Last update : January 17, 2021 7 min read

Ruby strftime, short and long story

"strftime" stands for "string from time". Which means "please Ruby format the time into a human-friendly format". Let's see how.

Posted January 13, 2022 - tagged ruby

Last update : January 13, 2021 9 min read

Rails authentication with Rodauth, an elegant Ruby gem

Rodauth is a wonderful Ruby gem that helps to handle authentication problems. Let's see how to integrate it into a Rails application.

Posted January 10, 2022 - tagged ruby-on-rails

8 min read

Ruby Enumerator : the what, the why, the how

If you're on the path to learning Ruby then you might have heard of this thing called an 'Enumerator'. As scary as it sounds, Enumerators are actually your friends and will be helping you a lot on your journey to becoming a Ruby *aficionado*. Since they are so important, let's quickly get you up and running within this lesson. We will be going over the what, the why, and the how of Enumeration.

Posted January 6, 2022 - tagged ruby

Last update : March 11, 2022 7 min read

How to create tons of Rails applications

This article explains why, and how to quickly create as much Rails applications as you need, using any desired version of Rails.

Posted January 3, 2022 - tagged ruby-on-rails

Last update : January 3, 2021 3 min read

Rails 7, Bootstrap 5 tutorial : fear and relief

Rails 7 has a very opinionated way to handle the front-end assets. Let's see how it works for Bootstrap 5.

Posted December 20, 2021 - tagged ruby-on-rails

7 min read

How to add a column with Rails

How to add a database column with Ruby-on-Rails ? Here is the short, and the long answer.

Posted December 15, 2021 - tagged ruby-on-rails

6 min read

Rails form : tutorial from the ground

Form is an old standard from the web, and handling form with Rails is almost as old as Rails itself. But submission tend to be a lot more complex nowadays making the UX and data-flow not so easy to understand, so sometimes it's good to go back to basics

Posted July 18, 2021 - tagged ruby-on-rails

7 min read