👋 Welcome to my Blog.
Here you find my writings and my projects. I try to keep this website as simple as possible, with the goal of collecting and own my content.
I went through both medium.com and dev.to and finally decided to host the blog myself using Jekyll, SimpleCSS and Github Pages.
If you like reading what I write, let me know.

Last posts

Jekyll forever

My new blog is ready and Jekyll is exactly what I needed!

Handling missing frames in Turbo

Some tips on how to handle missing frames with Turbo

To counter cache or not

Rails counter_cache are great but they serve one purpose, and you should always remember that they are cached values

Single Table Inheritance tips

Two small tricks I recently discovered when working with STI

Let's refactor this together

Follow me through a simple code review and refactoring. This real-world example will give you also an idea of the importance of code reviews at Renuo.

Rails Blog with DatoCMS

If you ever thought about building a Blog in Ruby On Rails and use a Headless CMS, I want to show you how we did that for our Blog on renuo.ch

The Full-Stack development experience

Rails World 2023 closes many doors that have been opened recently and marks a turning point for Ruby On Rails. That is why this year's motto can be summarized as "The One Person Framework".

Rubyday 2023 - A great comeback!

Read my summary of RubyDay 2023.

Preloading associations on an Array of Objects

It might happen that your initial array of objects is not an ActiveRecord Relation. You cannot use preload on an array of objects and therefore you suffer of N+1 queries. Here is the solution.

DatoCMS with Ruby on Rails

How to integrate DatoCMS in your Ruby On Rails application.

Ruby On Rails: Bootstrap 5 and importmaps without nodejs

How can you integrate Bootstrap in a Rails application without NodeJS

Mugshot Bot Acquisition: our side of the story

How we bought mugshotbot.com

The Turbo Showcase 🚀

If you are getting lost in Turbo documentation. Have a look at this showcase!

Log API requests in Rails

When exposing or consuming APIs, one of the most important things to remember is to log the calls you perform.

From Turbolinks to Turbo

I was eager to start using Hotwire in a project that I thought was a perfect fit. Here I will show you what I had to do, to migrate from Turbolinks to Turbo, and keep using Webpacker as main assets bundler.

CanCanCan 3.2.0

Hi all 👋, a new version of CanCanCan is out! Again, we have a minor release but it includes a bunch of very important features, next to support for Rails 6.1.0.

Rails API: be nice to your clients

Since at [Renuo](https://renuo.ch) we recently worked a lot on implementing APIs for third parties and we received strong compliments, I decided to share with you the decisions we took and re-used and refined among three different projects, so you can also be nice to your clients :heart:

Strip your parameters

Test downloaded files with RSpec and System Tests

How to test files download in your Capybara tests

The Progressive Rails App

A step by step tutorial to create a Progressive Web App with Ruby on Rails and Webpacker

CanCanCan 3.1.0

A new version of CanCanCan is out!

Run your Capybara tests on different devices

So many devices!!

Integrate the new Stripe Checkout in Ruby on Rails.

Are you ready for Strong Customer Authentication?

subscribe via RSS