Latest Ruby news from the world

26 July 2023

How to Dynamically Create Instance Variables in Ruby

This post shows one way to dynamically initialize multiple instance variables in a Ruby class using metaprogramming.
Ruby News
Jul2023
26 July 2023

Loading files in Ruby

This post is split into two parts. First we’re going to talk about how Ruby finds other files. Then, once we’ve got our head around that, we’re going to look at the extra sprinkles of magic that Rails adds on top.
Ruby News
Jul2023
23 July 2023

A Brief Introduction to Rails Initializers: Why, What, and How

This post covers the basics of initializers, including what they are, how they work, and how Rails implements them.
Ruby News
Jul2023
21 July 2023

Ruby operators

Ruby’s grammar has a ton of operators. Overtimes, they can mean more than one thing, depending on their context. This blog post enumerates each operator and its meaning.
Ruby News
Jul2023
20 July 2023

Everyday Design Patterns

Exploring the common patterns in the context of Ruby on Rails.
Ruby News
Jul2023
19 July 2023

Verifiable Random Functions (VRF) with Ruby

In this article, we will explore the concept of VRFs, their properties, and delve into the implementation of a VRF in the Ruby programming language.
Ruby News
Jul2023
18 July 2023

Running SASS and Tailwind side by side in Rails

What if you want to incrementally switch to Bulma? Or build a marketing site with Tailwind while keep using SASS for your main application? It’s not as hard as you think.
Ruby News
Jul2023
17 July 2023

An Introduction to Devise for Ruby on Rails

In this post, we'll learn some of the basics, including: What Devise is and why you should use it in the first place, including some situations where it's advisable not to use it. How to install Devise and use it in your project. How to customize the library for your project.
Ruby News
Jul2023
17 July 2023

Background Jobs and Task Scheduling in Ruby on Rails

In this article, we’ll explore how to leverage background jobs and task scheduling in Ruby on Rails to enhance application performance and maintain responsiveness.
Ruby News
Jul2023
17 July 2023

Deep Dive into RSpec's let Helper

In this article, we will dig deep to explore the potential of the let helper and it's friendly neighbors let! and subject.
Ruby News
Jul2023
17 July 2023

How to implement Adapter pattern in Ruby on Rails?

In this article, we are going to discuss the adapter pattern. We will explore what the adapter pattern is, why we need it, and how it can be implemented in a Rails application.
Ruby News
Jul2023
17 July 2023

Performant database tree traversal with Rails

Learn how to solve a tree traversal N+1 query problem in your Rails application.
Ruby News
Jul2023
17 July 2023

Push to Subscribe

This blog post will take you through creating a complete Rails 7 application with Web Push, and will do so in a way that will show you how to add Web Push to your existing Rails application.
Ruby News
Jul2023
14 July 2023

Business Class: a brand new Ruby on Rails SaaS template on the block

Business Class goes 1.0. Business Class is a brand new template focused on Rails defaults, the Paddle payment processor, and developer experience.
Ruby News
Jul2023
13 July 2023

About Ruby: pass by value or pass by reference?

Investigate Ruby's approach to passing objects in methods and assignments.
Ruby News
Jul2023
13 July 2023

Boosting Test Coverage with Ruby-OpenAI Gem

In this blog post, we will explore how you can leverage the power of the Ruby-OpenAI gem to generate additional test scenarios that can help enhance your test coverage.
Ruby News
Jul2023
13 July 2023

How to add Feature Flags in Ruby on Rails?

In this article, we are going to delve into the area of Feature Flags. We will explain what a feature flag is, why we need it, and how we can use it.
Ruby News
Jul2023
12 July 2023

How to use cocoon gem in Rails 7?

In this article, we will explore how to utilize the Cocoon gem in a Rails 7 application through a practical example.
Ruby News
Jul2023
12 July 2023

Implementing Rails-like Controllers in a No-Rails App

This post shows a highly simplified implementation of the controller pattern for a better understanding of Rails controllers.
Ruby News
Jul2023
12 July 2023

Picture_tag helper in Rails

Support for picture_tag helper in Rails. Its usage, advantages, and use cases.
Ruby News
Jul2023
11 July 2023

Vector Search in Rails Applications

In this podcast, Andrei Bondarev, who builds AI/ML-capable software products, will talk with Chuck about Vector Search or Semantic Search. He begins by giving an overview of it, explaining its concept, its significance, how it can be used in the rails application, and many more.
Ruby News
Jul2023
10 July 2023

Getting Started with Jekyll: a Powerful Ruby-Based Static Site Generator

In this article, we will explore the fundamentals of Jekyll and guide you through the process of getting started with this versatile tool.
Ruby News
Jul2023
10 July 2023

Understanding the Concept of Binding in Ruby

In this article, we'll learn about binding in Ruby.
Ruby News
Jul2023
10 July 2023

Web Application Routing Debrief with RoR

In this article, we will explore how routing works in Rails, exploring its various features, integration with engines, my personal experiences, and comparison with other language frameworks.
Ruby News
Jul2023