Latest Ruby news from the world

28 September 2022

Operator Precedence Riddles in Ruby

In this article, we will discuss the role played by operator precendence.
Ruby News
Sep2022
27 September 2022

How to Install Bootstrap in Rails 7

This article explains how to install Bootstrap in Ruby on Rails 7 and save some time building your apps.
Ruby News
Sep2022
27 September 2022

How to enable Rails CSRF Protection?

Let’s find out what cross-site request forgery (CSRF) is, how it works in Rails, and understand how we can prevent CSRF vulnerabilities.
Ruby News
Sep2022
27 September 2022

Manage Rails app secrets with Rails Encrypted Credentials

In this article, we will understand the encrypted credentials approach introduced in Rails 5.2 and dive into its most recent upgrade to the multi-environment setup in Rails 6.
Ruby News
Sep2022
26 September 2022

How to Build Rails API Authentication using JWT?

This guide learns how to build Rails API authentication using JWT
Ruby News
Sep2022
26 September 2022

Text generation with GPT-2 in Ruby

In this article, an author would like to run the ONNX runtime and try out the GPT-2 model that generates English sentences from the Ruby language.
Ruby News
Sep2022
22 September 2022

How to Install (Or Get Rid Of) therubyracer on M1 or M2 Macs

This tutorial will explain how to Install (Or Get Rid Of) therubyracer on M1 or M2 Macs.
Ruby News
Sep2022
21 September 2022

Rails 7.1 - Optimizes Active Record batching for whole table iterations

In Rails 7.1 the implementation of in_batches method has improved to give optimized results for whole table iterations. In this article, we will see how it has improved.
Ruby News
Sep2022
20 September 2022

Ruby Code Linting and Auto-formatting with RuboCop

In this article, you’ll learn how to include Linting and Auto-formatting in your Ruby project and configure it so that its output matches your expectations.
Ruby News
Sep2022
20 September 2022

Ruby on Rails — Best Practices Every Developer Should Know

This article explains the best practices that one should follow while developing applications using Ruby on Rails with real-world examples.
Ruby News
Sep2022
20 September 2022

Seeking Ruby Array Methods

In this article, you'll find a quick introduction to a few of the most used array methods in Ruby.
Ruby News
Sep2022
19 September 2022

Export User Data As CSV and Send an Email with Ruby on Rails

In this article, an author will explain how to export user data as a CSV file and attach it to an email or just upload it to ActiveStorage and S3.
Ruby News
Sep2022
19 September 2022

Rails guide - Adding Docker

In this article we'll configure docker and docker compose.
Ruby News
Sep2022
19 September 2022

Ruby group_by or Rails group_by

The goal of this article is to understand the group_by method from a theoretical and practical point of view, both for Ruby, and Rails.
Ruby News
Sep2022
15 September 2022

Ruby on Kubernetes Without the Headaches Using Kuby

In this podcast, an athor explains how you can deploy Rails apps on Kubernetes with Kuby.
Ruby News
Sep2022
15 September 2022

Rails 7 adds default value support for binary columns for SQLite

Binary columns now behave like other column types with default values in SQLite.
Ruby News
Sep2022
14 September 2022

Rails 7 updates through_reflection to distribute transactions across database connections

Models that use multiple databases now perform writes within a single transaction.
Ruby News
Sep2022
13 September 2022

ActiveRecord::QueryMethods#select adds support for hash values in Rails 7.1

ActiveRecord::QueryMethods#select adds support for hash values in Rails 7.1.
Ruby News
Sep2022
13 September 2022

Autoloading pitfalls fixed by Rails 7’s default Zeitwerk mode

In this article, we'll look at some gotchas in classic autoloading and how Zeitwerk mode solves them.
Ruby News
Sep2022
13 September 2022

How to Run Ruby in Your Browser

In this podcast, the author will share his recent developments about integrating Ruby snippets within a browser in less than a day.
Ruby News
Sep2022
13 September 2022

RubyConf 2022 Registration is now OPEN

RubyConf 2022 will be held in Houston, Texas this November (November 29th-December 1st) at the Hilton Americas. RubyMini will be held in Providence, Rhode Island.
Ruby News
Sep2022
7 September 2022

Ruby News August 2022 Digest

Ruby News August 2022 Digest
Ruby News
Sep2022
6 September 2022

Form validations in Ruby On Rails Application

In this article, we will learn how to manage server-side and client-side form validations according to our requirements and how we manage this at the application level.
Ruby News
Sep2022
5 September 2022

Ruby-on-Rails and Arel

Databases are the pillar of web application. The key is to understand how they work and the related tools, going from standard SQL language to Arel.
Ruby News
Sep2022