Lucas M.

Lucas M. @lcsm0n

About: Software Engineer @Lifen.

Location:
London / Paris
Joined:
Sep 19, 2022

Lucas M.
articles - 6 total

Rails transactional callbacks beyond models

In this previous post, we discussed non-atomic interactions in transactions and their potential...

Learn More 6 0Dec 10 '24

Transaction Safety in Rails: Identifying and Addressing Non-Atomic Interactions

Database transactions are a crucial mechanism for maintaining data integrity in the face of...

Learn More 2 0Nov 21 '24

Streamlining Rails Controllers with Simple PORO Validators

Disclaimer: This article proposes a straightforward approach to request validation in Rails...

Learn More 15 3Nov 8 '24

Ruby exception Handling Pitfall: Understanding Rescue Clause Hierarchy

Context Let's consider the following code, defining basic classes and one custom...

Learn More 3 0Oct 30 '24

Adding a Rubocop config to an old repository | step-by-step guide

While using Rubocop as a linter/formatter is a no-brainer for most Rails developers these days, it...

Learn More 5 0Oct 23 '24

The importance of the environment in Regex pattern matching

Here’s a small discovery I made regarding Ruby regex rules and whitespace characters, that made me...

Learn More 3 3Oct 16 '24