Latest Ruby news from the world

28 September 2023

An Introduction to LiteStack for Ruby on Rails

In this post, we'll introduce the basics of LiteStack and set up an example Rails application.
Ruby News
Sep2023
28 September 2023

An Introduction to Sidekiq for Ruby on Rails

In this post, we'll focus on effectively utilizing Sidekiq to manage and process background jobs.
Ruby News
Sep2023
28 September 2023

The Complete Guide to Working with Cookies in Rails

Sinatra is a Ruby web framework that lets you build apps with less code. It has an expressive syntax and is less complex than other frameworks like Rails. In this article, we’ll use Sinatra to make a URL shortening app and learn how to use this powerful tool.
Ruby News
Sep2023
28 September 2023

How to handle multi-line strings in Ruby?

In Ruby, handling multi-line strings is a breeze, and in this guide, we’ll explore various techniques to work with them effectively.
Ruby News
Sep2023
28 September 2023

Machine Learning Using Decision Trees in Ruby

In this blog post the author demonstrates how to build an effective decision tree model, and train this model on some sample data.
Ruby News
Sep2023
14 September 2023

Exploring Ruby Warnings

In this article we will explore how to use them, how to analyze them, and some examples of interesting warnings that can be really helpful during upgrades.
Ruby News
Sep2023
14 September 2023

The Complete Guide to Working with Cookies in Rails

This post covers almost everything you need to know about HTTP cookies in the context of Rails.
Ruby News
Sep2023
13 September 2023

ActionPolicy, GraphQL and Rails

This article will focus on implementing ActionPolicy in a simple Rails app using GraphQL.
Ruby News
Sep2023
13 September 2023

Ruby goes to the movie theater: directing the refactoring of your application

This post introduces a method I use to refactor big applications.
Ruby News
Sep2023
13 September 2023

How to Improve Rails Caching with Brotli Compression

In this blog post, the author will describe optimizing the Rails caching mechanism using the Brotli compression algorithm instead of the default Gzip.
Ruby News
Sep2023
13 September 2023

Using Cursor IDE for some small changes in a Rails app

Applying Cursor IDE to produce PRs in a Rails application
Ruby News
Sep2023
11 September 2023

Rails 7.1 makes it possible to execute tests for a given range of lines in a file

In Rails 7.1, developers can now run tests for a specific section of code by passing a line range (a-b) to the rails test command.
Ruby News
Sep2023
29 August 2023

Implementing Nearest-Neighbour Recommendations in Ruby

In this blog post we discuss how to build an effective recommendation system from first principles in ruby.
Ruby News
Aug2023
29 August 2023

Open Ranges are Now Supported By the Object#in? Method in Rails

We can use Object#in? method to check open date ranges i.e. beginless and endless ranges.
Ruby News
Aug2023
29 August 2023

Verifying Paddle Billing webhooks with Rails

Paddle recently made a major overhaul of its offering and API. If you need to validate the new Paddle Billing webhooks in Rails, here’s how to do it.
Ruby News
Aug2023
28 August 2023

A step-by-step guide to building a Ruby gem from scratch

From concept to execution, join me on a step-by-step journey through the process of crafting your own functional Ruby gem.
Ruby News
Aug2023
25 August 2023

Beyond the Myths: a Deep Dive into Ruby on Rails Performance

This article aims to shed light on Rails’ performance capabilities, dispel myths, and provide a comprehensive guide to harnessing the best of Rails in terms of speed and scalability.
Ruby News
Aug2023
25 August 2023

Secure Your Ruby App with JSON Web Tokens

In this post, we'll discuss a subset of web security that involves authentication using JSON Web Tokens (JWTs) and the Ruby on Rails web application framework.
Ruby News
Aug2023
23 August 2023

12 Ruby Gems to make your Ruby coding smoother

In this blog post, the author has selected 12 gems in several important categories that you should try. All of them have been released within the last two years or three, are regularly updated, and have already gained the trust of Ruby on Rails developers.
Ruby News
Aug2023
22 August 2023

ActiveRecord Internals: You are not ready for this

This article will demystify Rails by looking deeper into the Rails active record association internals.
Ruby News
Aug2023
22 August 2023

Overriding Rails engines models and controllers

If you’ve ever worked with a Rails engine, you might have come to a moment you needed to quickly override something. But do you know how to override the engine application files from within your Rails application?
Ruby News
Aug2023
21 August 2023

Parallel Testing in Rails 7: Benefits and Pitfalls

Parallel testing has emerged as a popular strategy for speeding up test suites, and with Rails 7, it’s more efficient and effective than ever.
Ruby News
Aug2023
21 August 2023

Ruby's Hash is a Swiss-Army Knife

A Hash is a built-in data structure in Ruby that maps values to keys and has a constant-time O(1) lookup. This article shows the capabilities of this simple, but equally powerful tool.
Ruby News
Aug2023
18 August 2023

Abbrev: a Hidden Ruby Gem

The Abbrev module in the Ruby standard library helps you find out all the possible and unique abbreviations for one or more strings. In this post, we'll learn how it works along with a practical example. We'll also take a peek behind the scenes to see how it's implemented.
Ruby News
Aug2023