#Ruby

26 articles

7 Books for Learning Ruby and Rails (Beginner to Advanced)
Application 2026-09-22

7 Books for Learning Ruby and Rails (Beginner to Advanced)

A staged reading list of 7 books for learning Ruby and Ruby on Rails: getting started, deepening the language, and Rails in practice. Each entry links to its full review.

#Book Review#Ruby
Understanding IO and CPU Characteristics in Ruby and Rails
Application 2025-06-14

Understanding IO and CPU Characteristics in Ruby and Rails

Understand Ruby GVL, Puma concurrency, IO-bound vs CPU-bound workloads, thread/process tuning, and GC impact on Rails performance.

#Ruby#Ruby on Rails
Differences Between Instance Variables, Class Variables, and Class Instance Variables in Ruby
Application 2025-01-31

Differences Between Instance Variables, Class Variables, and Class Instance Variables in Ruby

Summarizing the differences between instance variables, class variables, and class instance variables in Ruby.

#Ruby
Implementing Singleton Pattern in Ruby
Application 2025-01-31

Implementing Singleton Pattern in Ruby

A summary of how to implement the Singleton pattern in Ruby. It introduces ways to guarantee that only one instance of a class exists, using the standard Singleton module, class methods, and constants, so that a single instance can be managed in a thread-safe manner.

#Ruby
Metaprogramming Ruby 2nd Edition
Application 2025-01-06

Metaprogramming Ruby 2nd Edition

A review of Metaprogramming Ruby, 2nd Edition. A book for learning the mechanisms and uses of Ruby metaprogramming. Through the object model and dynamic features, it reveals the nature of Ruby magic, while making clear that truly mastering it takes real effort.

#Book Review#Ruby
Practical Ruby Programming: Principles and Trade-offs for Effective Code
Application 2024-10-28

Practical Ruby Programming: Principles and Trade-offs for Effective Code

A review of Polished Ruby Programming. A book for those who, having finished the primers, want more practical knowledge. Tracing what Ruby-like code looks like through the lens of principles and trade-offs, it conveys Ruby's appeal while also teaching design ideas that transcend the language.

#Ruby#Book Review
Code Reading of Pundit
Application 2024-10-22

Code Reading of Pundit

Understand Ruby Pundit authorization framework through code reading, exploring permission policies and authorization mechanisms.

#pundit#Ruby
Code Reading of irb
Application 2024-10-20

Code Reading of irb

Explore the inner workings of Ruby's interactive shell (irb) and understand its startup process, history loading, and command execution.

#irb#Ruby
Code Reading of reline
Application 2024-10-20

Code Reading of reline

Examine reline Ruby library internals through code reading: readline calls, line editing, and text input buffering mechanics.

#reline#Ruby
RSpec Code Reading
Application 2024-10-20

RSpec Code Reading

Analyze RSpec framework internals: runner invocation, test execution flow, and result reporting mechanisms for Ruby testing.

#RSpec#Ruby
Ruby Code Recipe Collection
Application 2024-10-20

Ruby Code Recipe Collection

A review of Ruby Code Recipe Collection. A book that compiles what you can do in Ruby and common patterns as a recipe collection. Written clearly and concisely, it is just right for beginners learning Ruby to build up their repertoire.

#Ruby#Book Review
Code Reading of Sidekiq
Application 2024-09-21

Code Reading of Sidekiq

Understand Sidekiq architecture for Redis-based asynchronous job queuing, job enqueuing, and execution flow in Ruby applications.

#Ruby#Sidekiq
Ruby on Rails Code Reading Part 3 - Invoking WelcomeController
Application 2024-09-04

Ruby on Rails Code Reading Part 3 - Invoking WelcomeController

The third installment of my code reading notes for Ruby on Rails. Using a project created with rails new, it traces how a request flows through routing until the action of the WelcomeController is invoked, following the request handling step by step.

#Ruby on Rails#Ruby
Ruby on Rails Code Reading Part 1 - Rails Startup
Application 2024-09-02

Ruby on Rails Code Reading Part 1 - Rails Startup

Trace Rails startup sequence from command invocation through Rackup, Puma server initialization, and request handling flow.

#Ruby#Ruby on Rails
Ruby on Rails Code Reading Part 2 - Rails Request Processing
Application 2024-09-02

Ruby on Rails Code Reading Part 2 - Rails Request Processing

The second installment of my code reading notes for Ruby on Rails. Using a project created with rails new, it follows how Rails processes a single request from the moment it arrives until a response is returned, tracing the flow of request handling through the framework.

#Ruby#Ruby on Rails
Learning Ruby
Application 2024-05-16

Learning Ruby

Master Ruby fundamentals using official documentation, classic books, object-oriented design patterns and practical implementation practice.

#Ruby
About Ruby Block Syntax
Application 2024-05-15

About Ruby Block Syntax

Learn Ruby block syntax with do..end and {} forms, passing blocks to methods, yield statements, and Proc/lambda closure behavior.

#Ruby
About Ruby Modules
Application 2024-05-15

About Ruby Modules

Understand Ruby modules for namespacing, mixin multiple inheritance, and providing common methods without class instantiation.

#Ruby
About Ruby's Proc and Lambda
Application 2024-05-15

About Ruby's Proc and Lambda

Compare Ruby Proc and Lambda differences in argument handling, return behavior, and jump statement semantics for closures.

#Ruby
About Ruby's Singleton Classes and Singleton Methods
Application 2024-05-15

About Ruby's Singleton Classes and Singleton Methods

Explore Ruby singleton classes, singleton methods, class methods, and object-specific method definitions for advanced metaprogramming.

#Ruby