Latest Ruby news from the world

17 June 2022

Rails 7 extends audio_tag and video_tag to accept Active Storage attachments

Rails 7 extends audio_tag and video_tag to accept Active Storage attachments.
Ruby News
Jun2022
15 June 2022

ASTs in Ruby - Node Pattern and Introducing RuboCop

This article will introduce you to NodePattern, some of the tooling around it, and how that might look when integrated into RuboCop.
Ruby News
Jun2022
15 June 2022

ASTs in Ruby - Pattern Matching

Pattern matching is exceptionally powerful in Ruby, and this post will scratch the surface of what it can do when used correctly.
Ruby News
Jun2022
15 June 2022

Rails allows specifying the maximum number of records

Rails now allows adding the active record configuration to specify the maximum number of records that will be destroyed in a single background job.
Ruby News
Jun2022
15 June 2022

Rails link_to tutorial and examples

link_to is a helper method in Ruby that is very useful to enable users to navigate through applications.
Ruby News
Jun2022
14 June 2022

Understading why attr_accessor in Ruby is faster than a regular method

A post about the performance difference bettween attr_accessor and a regular method (hint: prefer a built–in one, it’s way faster).
Ruby News
Jun2022
13 June 2022

Containerizing an Existing Rails Application

Containers are popular because they create a reproducible environment that you can deploy to production and run locally in development. However, containerizing a Rails app can be tricky — the author helps us navigate the pitfalls.
Ruby News
Jun2022
10 June 2022

Method chaining in Ruby

In this post, the author explains how method chaining works in Ruby.
Ruby News
Jun2022
10 June 2022

Rails 7.1 adds authenticate_by when using has_secure_password

Rails 7.1 has added a new method called authenticate_by. This method can be used along with has_secure_password and takes the same amount of time to authenticate a user regardless of whether the user is present in the database.
Ruby News
Jun2022
10 June 2022

Ruby-on-Rails and AlpineJS tutorial

AlpineJS is a very promising JavaScript tool for already-rendered HTML. It sounds an awfully good fit for Ruby-on-Rails. Let’s dive in.
Ruby News
Jun2022
9 June 2022

Add Feature Flags in Ruby on Rails with Flipper

This post will dive into the ins and outs of feature flags in Rails, including how to set them up using the Flipper gem.
Ruby News
Jun2022
8 June 2022

Ruby News May 2022 Digest

Ruby News May 2022 Digest
Ruby News
Jun2022
7 June 2022

Rails 7.1 adds authenticate_by when using has_secure_password

Rails 7.1 has tried to address one of the seemingly unapparent security vulnerability called timing based enumeration attack by introducing a method authenticate_by when using has_secure_password. This blog demonstrates the same.
Ruby News
Jun2022
6 June 2022

Using ActiveRecord with SQLite DB in a JRuby Desktop App

This blog post tutorial covers how to configure a SQLite database and connect to it using ActiveRecord from within a Ruby desktop application, data-binding the ActiveRecord Model to the GUI View bidirectionally.
Ruby News
Jun2022
5 June 2022

Hidden Gems: ActiveRecord Store

In this post we'll take a look at some of the lesser-known tools hidden in Rails' large codebase.
Ruby News
Jun2022
5 June 2022

Introducing Shale, a Ruby object mapper and serializer for JSON, YAML and XML

The author released Shale, a Ruby gem that allows you to parse JSON, YAML and XML and convert it into Ruby data structures, as well as serialize your Ruby data model to JSON, YAML or XML.
Ruby News
Jun2022
3 June 2022

Rails 7 Arel adds support for FILTER clause

Rails 7 Arel adds support for FILTER clause that extends aggregate functions.
Ruby News
Jun2022
2 June 2022

A Story about Test Coverage Metrics

In this post the author tells a story about Test Coverage Metricks.
Ruby News
Jun2022
1 June 2022

Desktop Apps in Ruby

In this episope Ruby Rogues enjoy hearing about why and how Andy created Glimmer, specific applications for implementation, comparison to other apps, DSL framework, using widgets within Glimmer, feature additives, testing, and various compatibilities.
Ruby News
Jun2022
31 May 2022

Favorite Moments From RailsConf 2022

RailsConf held an in-person conference for the first time in two years, taking over the Oregon Convention Center in Portland for three days of keynotes, technical tutorials, and talks on developer culture.
Ruby News
May2022
29 May 2022

Zero-downtime schema migrations for Ruby on Rails

This post will show how easily Reshape can be integrated with Rails and the great advantages it provides compared to standard Active Record migrations.
Ruby News
May2022
27 May 2022

How to write SQL queries in Rails?

This article will explore a number of real-life use-cases using ActiveRecord with SQL
Ruby News
May2022
27 May 2022

Implementing Equality in Ruby

Let's walk through all forms of equality in Ruby and how to implement them.
Ruby News
May2022
26 May 2022

Ruby interview questions

In this post, you will read a collection of Ruby basics for a Middle-level developer.
Ruby News
May2022