Journey of discovery and learning. Here, I write what I want. Programming, privacy, open-source software, and more.
26 November 2023
Optimize performance in Rails 7.1 with asynchronous data loading using Active Record and the load_async method. Reduce response times by running queries in parallel, improving the efficiency of your application.
20 November 2023
Discover a simple and fast way to debug in Ruby without installing additional gems. With the Binding class and the integrated IRB console, you can explore and modify the execution context to resolve errors efficiently.
8 November 2023
A Service Object is a Ruby class that groups business logic in an organized way in your Ruby on Rails application. Its use simplifies code, facilitates testing, encourages reuse and raises the quality of your application.
1 November 2023
Discover how to set up your own website at no cost using Jekyll and GitLab Pages.
20 October 2023
Mounting Ruby on Rails on Docker offers isolation to avoid conflicts, portability to take your application anywhere, effortless scalability, easy maintenance and efficient team collaboration.
18 October 2023
The N+1 problem is common in database-oriented programming and occurs when an additional query is required for each relationship between objects, generating an excess of queries. This problem also affects Active Storage, which creates records in the database through polymorphic relationships.
2 October 2023
Discover how to set up your own website at no cost using Jekyll and GitHub Pages.
19 September 2023
Nowadays, anyone who wants to be known by the world creates a website concerned that the costs are not high, the communication is clear, the design is beautiful and it never stops working. But I think there is another aspect to take into consideration equally or more important: the carbon footprint.
14 September 2023
The right to privacy is directly related to the right to freedom of expression, equality and non-discrimination. If we lose the first one then it is very likely that the following will also be violated. To avoid this we must be aware of what data we give out (difficult to know), with whom it will be shared, what it will be used for and how to take care of ourselves when browsing.
9 September 2023
hCaptcha defines itself as the largest independent catpcha service. They claim to be running on 15% of the internet and that it is possible to compete with the tech giants by focusing on privacy. Let's see how easy it is to install this captcha in a Ruby on Rails application.
1 September 2023
Discover how to perform web scraping in Ruby with Nokogiri, the leading HTML and XML document parsing library. Learn the key techniques in this article on web scraping in Ruby.
14 August 2023
We will see how to create a custom chat with persistence with Ruby On Rails and ChatGPT. After interacting in a couple of applications with the OpenAi API I want to show how you could make a simple chat that could scale to whatever you want using Ruby On Rails.
8 July 2023
Discover how to get PostgreSQL and pgAdmin up and running in an agile way with Docker Compose. A quick guide to get your tools ready in minutes in your local development environment.
7 July 2023
Quickly and efficiently configure MariaDB and phpMyAdmin in Docker Compose to simplify the management of your databases in your development environment.
15 June 2023
Explore how I transformed SpaceVim into my Ruby IDE, after saying goodbye to Atom. SpaceVim, based on Vim/NeoVim and inspired by SpaceMacs, is an open source distribution backed by an active community.
8 June 2023
Ministest-cc is a lightweight and simple plug-in for the Minitest framework that provides an output about the code coverage of your tests. Here we will see how to install it and how it works.