Latest Ruby news from the world

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