Tutorials

Logging in Ruby: (Almost) Everything You Need to Know
This post provides an in-depth overview of logging in Ruby, one of those topics that seems totally unnecessary until something goes wrong.It's very easy to find and fix bugs when you're in the development mode. You have the terminal open with the ...

Integrate Replicate in Rails Application | Saeloun Blog
With Replicate, we can run machine learning models in the cloud without the need to set up our own infrastructure or have in-depth knowledge about machine learning. Replicate allows us to run both public and private models.Let’s understand some te...

Understanding Transaction Isolation Levels in Rails with Simple Examples - DEV Community
In this article, we will discuss the usage of database transactions in a Rails application, with a particular focus on one of the ACID principles - Isolation - and its four levels. We will explore what these isolation levels are, why they are nece...

How to Dynamically Create Instance Variables in Ruby
This post shows one way to dynamically initialize multiple instance variables in a Ruby class using metaprogramming. If you need to pass multiple, separate pieces of data to a constructor (and cannot refactor the code for some reason), it's a pret...



Rails 7.1 adds routes --unused option to detect extraneous routes | Shakacode
Discover extraneous routes in your Rails application effortlessly by utilizing the --unused option with the rails routes command.Rails routes are essential for mapping URLs to specific actions, controllers, and views in your application. As your R...



Safeguarding From Deprecation Regressions During an Upgrade
You are upgrading a Rails application. You finished fixing a deprecation warning and it’s not present anymore. You continue working on other tasks and one day you find out the deprecation is back in the codebase. New code was added using the depre...