Why Metaprogramming is Cool
Every Ruby on Rails developer has likely used Rails.env.production?, Rails.env.development?, or similar calls to check the current environment. But have you ever wondered how this
SQL Injection Vulnerabilities in Rails
When we first start learning Ruby on Rails, one of the things we quickly pick up is that Active Record helps protect our applications from SQL injection attacks. However, even with
Thread-Safety in Ruby on Rails: Basic Example With Race Conditions
The Global Interpreter Lock (GIL) in Ruby prevents true multi-core CPU usage in a Rails app, but there is still concurrency, especially when using a multi-threaded server like Puma
How to add a domain name hosted on Heroku to name.com provider
If you are searching for a domain provider for your website hosted on Heroku, make sure to check whether the domain provider supports ANAME records. Otherwise, you might encounter
Step-by-Step Guide: Setting Up Docker for Your Rails Application on Ubuntu
In this tutorial, we will demonstrate how to dockerize your Rails application for local development. This practice can prove highly beneficial right from the beginning of your new