Ruby

ERB vs Slim: Which Rails Template Language Should You Use?

A practical comparison of ERB and Slim for Rails views, explaining their syntax, readability, HTML compatibility, performance, and how each template language affects collaboration between developers and designers.

Ruby
Guides ·  Updated on November 17, 2025

ERB vs Haml: Syntax, Structure, and How They Shape Your Rails Views

A practical comparison of ERB and Haml in Rails, covering syntax, readability, structure, performance, and how each templating language affects developer workflow and template maintenance.

Ruby
Guides ·  Updated on November 17, 2025

Haml vs Slim

Compare Haml vs Slim for Ruby and Rails views. Learn how their syntax, attributes, whitespace, and readability differ so you can choose the right template engine.

Ruby
Guides ·  Updated on November 14, 2025

Debug Ruby Applications with Byebug

Learn how to debug Ruby applications using Byebug. This step-by-step guide covers installing Byebug, setting breakpoints, inspecting variables, navigating the call stack, and controlling code execution for efficient Ruby debugging.

Ruby
Guides ·  Updated on November 11, 2025

How to Use GoodJob for Background Jobs in Rails

Learn how to set up and use GoodJob — a multithreaded, Postgres-based background job processor for Ruby on Rails. Follow this step-by-step guide to configure workers, schedule jobs, and manage queues without Redis

Ruby
Guides ·  Updated on November 5, 2025

Sidekiq: Background Job Processing in Ruby

Learn how to use Sidekiq for background job processing in Ruby. This step-by-step guide covers setup, worker creation, multiple queues, scheduling with sidekiq-cron, and monitoring jobs through the Sidekiq web dashboard using Redis for fast, reliable performance.

Ruby
Guides ·  Updated on November 5, 2025

Getting Started with Oj

Learn how to use Oj for fast JSON parsing and generation in Ruby applications. This comprehensive guide covers parsing modes, custom serialization, performance optimization, Rails integration, and best practices for handling JSON data efficiently.

Ruby
Guides ·  Updated on November 4, 2025

Getting Started with SimpleCov for Ruby

Learn how to set up and configure SimpleCov for Ruby to track code coverage, improve test quality, and maintain clean, well-tested applications with easy step-by-step guidance.

Ruby
Guides ·  Updated on October 31, 2025

Getting Started with TypeProf

Learn how to automatically generate RBS type signatures for Ruby code using TypeProf's type inference engine. This guide covers running TypeProf, understanding its analysis, handling limitations, and improving accuracy with usage examples.

Ruby
Guides ·  Updated on October 30, 2025

Getting Started with RBS

Learn how to add Ruby's official type signature system to your projects. This guide covers writing RBS signatures, using Steep for type checking, generating signatures with TypeProf, and catching type errors before runtime.Retry

Ruby
Guides ·  Updated on October 30, 2025

Signal Handling in Ruby

Learn how to handle operating system signals in Ruby to build resilient, production-ready applications. This guide covers common Unix signals, Ruby’s `trap` method, graceful shutdown patterns, and signal-based runtime controls for servers and background workers.

ruby
Guides ·  Updated on October 14, 2025

A Guide to Ruby's Object Model and Method Lookup

Deep dive into Ruby's object model with practical examples. Master method lookup, class hierarchies, module inclusion, singleton methods, and metaprogramming fundamentals.

Ruby
Guides ·  Updated on September 16, 2025

A Beginner's Guide to RSpec

Learn RSpec testing for Ruby applications with this comprehensive beginner's guide. Master behavior-driven development, test organization, filtering, mocking, and setup methods to write reliable, maintainable tests that catch bugs before production.

Ruby
Guides ·  Updated on September 15, 2025

Logging in Ruby: A Comparison of the Top 6 Libraries

There are many different logging libraries available for Ruby, each with its own strengths and weaknesses. Learn about the top 6 options in this article.

Logging
MrLogaLoga
Ougai
Ruby
Semantic Logger
Yell
Guides ·  Updated on February 26, 2025

Using RuboCop for Effective Ruby Code Linting

Ruby's flexible syntax is both a blessing and a curse. While it enables elegant and expressive code, it can also lead to inconsistent codebases when multiple developers are involved. Enter RuboCop ...

Ruby
Rubocop
Guides ·  Updated on February 26, 2025

How to Get Started with Logging in Ruby

Learn how to start logging with Ruby and go from basics to best practices in no time.

Logging
Ruby
Ruby on Rails
Guides ·  Updated on January 28, 2025

How to Start Logging With Ruby on Rails

Learn how to start logging with Ruby on Rails and go from basics to best practices in no time.

Logging
Ruby
Ruby on Rails
Guides ·  Updated on November 20, 2024