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.
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.
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.
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.
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
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.
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.
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.
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.
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
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.
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.
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.
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.
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 ...
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.
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.