Migrating a Rails App from Heroku to Railway
Last weekend I migrated my Doctors App from Heroku to Railway. It’s a multi-tenant Rails app where each hospital gets its own subdomain — one.doctors.com, two.doctors.com, and so on. Five hospita...
Last weekend I migrated my Doctors App from Heroku to Railway. It’s a multi-tenant Rails app where each hospital gets its own subdomain — one.doctors.com, two.doctors.com, and so on. Five hospita...
The Setup I’m building a multitenant order management system for cafes and restaurants. Orders come in, the kitchen sees a live queue, waiters track item status — all updating in real time across ...
Why even consider R2? There are plenty of good reasons to use AWS S3 in a Rails application, and for most teams it works perfectly well. However, one concern that comes up frequently is cost over...
Install MySQL on Linux MySQL is one of the most popular open-source relational database management systems. In this guide, we’ll walk you through the steps to install MySQL on Linux. Prerequisit...
Note: Dropping a table will remove all the data from it. I recently had to remove a table from a Rails application. Here are the ways to do it. Using a Migration Why this option? It’s a sta...
Mastering Git Bisect: Finding Bugs with Precision In the world of software development, bugs are a common adversary. They can be elusive, popping up when you least expect them and wreaking havoc i...
Git is a powerful version control system that allows developers to manage their source code effectively. One of the features of Git is the ability to create branches, which allow developers to work...
Hey folks, I just wanted to say: Happy New Year 2023 🥳
To be honest, following the sentry documentation was pretty straightforward. Change Gems # Old gem "sentry-raven" # New gem "sentry-ruby" gem "sentry-rails" Change Initialization # Old Raven...
Recently, I installed Ubuntu 22.04 to stay on the latest version. I installed rvm.io without issues, then proceeded to install Ruby as usual: rvm install 2.6.9 To my surprise, I encountered the...
Do you want to use a fancy terminal? Install zsh and oh-my-zsh. Install zsh sudo apt install zsh Install Oh-My-Zsh Visit https://ohmyz.sh, copy, and execute the following command: sh -c "$(cu...
Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in millions of websites, including some of those you visit daily. - prismjs documentation ...
I’m working on a new PC and wanted to dockerize my Bridgetownrb blog to avoid cluttering my system. I searched how to dockerize bridgetownrb and found this easy-to-follow post (thank you, Konnor),...
Introduction As a non-native English speaker, I’m always learning new words, idioms, and expressions. This post is a collection of interesting words I’ve encountered and wanted to remember. 202...
Why Install from Source? Vim/Neovim has been my code editor for about 5 years, and in all that time I haven’t needed to compile it and install it from its GitHub repository. This is because Vim co...