Latest Ruby news from the world

26 August 2022

How to set up JavaScript testing for Rails 7 with Jest

In this article, we'll see how to set up JavaScript testing, with Jest, for a brand new Rails 7 project.
Ruby News
Aug2022
26 August 2022

Effective Queries with Rails and PostgreSQL

In this article, the author teaches how to write performant SQL queries with EXPLAIN and ANALYZE.
Ruby News
Aug2022
24 August 2022

An Introduction to Ractors in Ruby

In this post, we'll dive into ractors in Ruby, exploring how to build a ractor.
Ruby News
Aug2022
24 August 2022

Validating YAML Files in Ruby

In this article, the author explains how to use dry-schema and dry-validation to validate YAML Files in Ruby.
Ruby News
Aug2022
23 August 2022

Cron Job with Whenever Gem Setup — Ruby On Rails

In this post, the author shares a little guide that will show you how to use cron jobs in a Ruby on Rails application.
Ruby News
Aug2022
23 August 2022

Ruby, Active Record, & Sinatra

Ruby developers can identify probable errors and handle them so that the application does not break. This is what we call exception handling.
Ruby News
Aug2022
22 August 2022

How to use Ruby on Rails Concerns

The author explains how can you use Сoncerns to store common code for several classes there, or for refactoring to separate semantically similar code in separate modules.
Ruby News
Aug2022
22 August 2022

Why Use MongoDB with Ruby

In this post, the author tells why he started using MongoDB with Ruby.
Ruby News
Aug2022
19 August 2022

Rails adds beginless range support to clusivity

Ruby 2.7 has added the support for beginless range, Rails 7 also adds support to include the beginless range in ActiveRecord inclusivity/exclusivity validators.
Ruby News
Aug2022
16 August 2022

Active Hashcash Ruby Gem

This post will talk about active_hashcash, a gem to protect Ruby on Rails applications forms.
Ruby News
Aug2022
16 August 2022

From byebug to ruby/debug

This post can help you get familiar with ruby/debug and make the migration smoother.
Ruby News
Aug2022
16 August 2022

Ruby, Active Record, & Sinatra

In this post, the author tells how built a web basic API with Sinatra and Active Record to support a React frontend.
Ruby News
Aug2022
15 August 2022

The ultimate guide to securing data for Rails developers

In this post you will read a list of practical advice for securing your Ruby on Rails applications.
Ruby News
Aug2022
14 August 2022

Adding timestamps to join tables in Rails

This post explains how to go about adding timestamps to your Rails join tables.
Ruby News
Aug2022
10 August 2022

A Deep Dive into Memory Leaks in Ruby

In this post, we'll look deeper into the tools you can use to discover and diagnose a memory leak.
Ruby News
Aug2022
4 August 2022

Connect a Ruby on Rails App with React in a Monolith

This article will show you how to connect a Rails application with a front-end developed in React (without splitting the code into two separate applications).
Ruby News
Aug2022
4 August 2022

Destructuring in Ruby

In this article we’re going to discuss destructuring for assignments, arrays and keyword args.
Ruby News
Aug2022
3 August 2022

Ruby News July 2022 Digest

Ruby News July 2022 Digest
Ruby News
Aug2022
3 August 2022

Finding Active record objects without any Active storage attachments in Rails

This article tells how to find Active record objects without any Active storage attachments.
Ruby News
Aug2022
29 July 2022

TruffleRuby 22.2 is released

It brings full support for Apple Silicon and OpenSSL 3, as well as many performance and compatibility improvements.
Ruby News
Jul2022
28 July 2022

RAILS_ENV

In this podcast, speakers share their best practices on how they manage their environment variables and workflows within their rails environments.
Ruby News
Jul2022
27 July 2022

How to Track Down Memory Leaks in Ruby

In this post, we'll start by looking at how Ruby manages memory, how Garbage Collection (GC) works, how to find a leak and take a deeper dive into tracking down leaks.
Ruby News
Jul2022
25 July 2022

Ruby on Rails Time Without Time Zone

In Ruby and Rails, there is no class dedicated to time-of-day, so 2000–01–01 is used for the time. ActiveModel implements a Time class to reflect the database type of time.
Ruby News
Jul2022
22 July 2022

Announcing Hanami v2.0.0.beta1

Hanami 2 first beta: app-centric revolution & CLI. What to expect in 2.0 and 2.1. app/ directory is now the primary home for your code.
Ruby News
Jul2022