Blog
Page 595 of my articles, tutorials, and thoughts
Latest Articles
Ruby: What does "require: false" in Gemfile mean?
# Ruby: What does 'require: false' in Gemfile mean? 🧐 So, you're working on a Ruby project and you stumble upon a line like this in your Gemfile: ```ruby gem 'whenever', require: false ``` Naturally, you might think, "Does this mean the gem needs to be
What is the difference between include and extend in Ruby?
# Include vs Extend: Demystifying Ruby Mixins <p>🤔 Just getting my head around Ruby metaprogramming. The mixin/modules always manage to confuse me. </p> <p>So, what is the difference between include and extend in Ruby? Let's break it down! 🕵️♀️</p> #
Is there a "do ... while" loop in Ruby?
# Is there a "do ... while" loop in Ruby? You're not alone! Many developers hope to find a "do ... while" loop in Ruby that can simplify their code. This loop structure allows you to execute a block of code at least once and then continue as long as a cer
How can I update Ruby version 2.0.0 to the latest version in Mac OS X v10.10 (Yosemite)?
# How to Update Ruby Version on Mac OS X v10.10 (Yosemite) 👋 Hey there, Mac user! Are you stuck with an outdated Ruby version on your Yosemite operating system? 🌀 Don't worry, I've got your back! In this blog post, I'll guide you through the process of
When monkey patching an instance method, can you call the overridden method from the new implementation?
🐒 Monkey Patching: Can You Call the Overridden Method? 📞🔧 👋 Hey there tech enthusiasts! 👋 Have you ever found yourself in a situation where you needed to override (or monkey patch) a method in a class, but still wanted to call the original (overridd
Ruby: Can I write multi-line string with no concatenation?
# 🌟 Writing Multi-Line Strings in Ruby with No Concatenation 🌟 Are you tired of messy and hard-to-read code when dealing with multi-line strings in Ruby? Concatenating strings can get tedious and make your code look cluttered. But fear not! In this blog
What is the difference between include and require in Ruby?
# Understanding the Difference between `include` and `require` in Ruby 🤔 So you want to know the difference between `include` and `require` in Ruby? Trust me, you're not alone! It's a common question that often confuses even experienced Ruby developers.
How to reverse a "rails generate"
# How to Reverse a 'rails generate' and Clean Up Your Mess 😅 🚂🔀🔄🔧 So, you've generated some files using `rails generate` and now you're feeling a bit overwhelmed with all the changes they made. Fear not! In this blog post, we will address the common
How to Uninstall RVM?
**🔥 The Ultimate Guide to Uninstalling RVM 🔥** So, you're in a bit of a pickle with your RVM installation on Ubuntu 9.10, huh? Don't fret! We've got your back. In this guide, we'll walk you through the steps to uninstall RVM like a pro. Whether you simp








