Latest Ruby news from the world

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
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

Rails ActiveRecord select method adds the ability to receive hash values

Rails ActiveRecord select method adds the ability to use a hash with columns and aliases inside the select method keeping it similar to the where clause.
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
2 September 2022

Rails ActionController::Parameters.to_h can now receive a block

ActionController::Parameters.to_h will now receive a block just like Hash#to_h and achieve parity. This gives the ability to customize the way parameters are passed to the controller.
Ruby News
Sep2022
2 September 2022

Ruby Method Parameters and Arguments

This article takes a deeper dive along with direct and dynamic message passing.
Ruby News
Sep2022
1 September 2022

Monitor Ruby Application Performance with Magic Dashboards

In this article, the author explains how to use magic dashboards to help monitor and resolve performance issues within a Ruby on Rails application.
Ruby News
Sep2022
1 September 2022

Rails 7.1 allows infinite ranges for LengthValidators and Clusivity validators

Rails 7.1 adds support for infinite ranges for Active Model validations which use the :in, and :within options.
Ruby News
Sep2022
31 August 2022

RailsConf 2022: 10 Shopify Tech Talks

Shopify recapped RailsConf shortly after it wrapped and now organizer Ruby Central has posted videos from the various talks and workshops online.
Ruby News
Aug2022
31 August 2022

The Role of Rack in the Ruby Ecosystem

In this post, you will learn more about the role of rack in the ecosystem of Ruby from an expert and up skill your ruby game.
Ruby News
Aug2022
30 August 2022

Github Pre-commit Hook Setup in Ruby On Rails for maintaining coding standards and productive.

In this article, we will set up GitHub pre-commit hook using the pre-commit gem in Ruby On Rails, and we will use Git Hooks to run Rubocop, Brakeman, and Rspec.
Ruby News
Aug2022
30 August 2022

Rails 7 now reads ENV SCHEMA_FORMAT when doing rails db:schema: dump,load

Previously rails db:schema: dump,load would only dump Ruby format. Now it reads ENV SCHEMA_FORMAT to choose between Ruby and SQL formats.
Ruby News
Aug2022
29 August 2022

Ruby loops overview

Understanding loops and how they work will help you write robust and efficient applications and interfaces.
Ruby News
Aug2022
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