Rails adds support for descending order in find_each, find_in_batches and in_batches

Rails 6.1 has added support for providing order(ASC/DESC) to batch processing methods like find_each, find_in_batches and in_batches instead of processing records in ascending order always.

Ruby adds experimental support for end-less method definition

Ruby has added a new experimental syntax for defining single-line methods without using the end keyword.

Rails - Added sub seconds to Time inspect

Rails has added sub seconds to ActiveSupport::TimeWithZone#inspect method.

Rails adds support for db:rollback:name for multiple database applications

Rails has added support for name option while rollbacking migration for multiple database application

Rails 6.1 add Enumerable#pick to complement Relation#pick

Adding pick to enumerable will enable us to call pick on loaded relations, unloaded relations, and plain enumerables interchangeably.

Using Optimizer Hints in Rails

Optimizer Hints allows us to control the query optimizer of a database system. Rails 6 has added support to provide Optimizer Hints.

Rails 6.1 adds ActionCable::Channel#stream_or_reject_for

Rails 6.1 adds `ActionCable::Channel#stream_or_reject_for` to stream or reject connection based on presence of record

Heredocs and how to use them in Ruby and Rails

What are heredoc and different ways to use them in Ruby and Rails.

Rails has deprecated using return, break and throw to exit a transaction

Rails has disallowed using return, break and throw for exiting early from a transaction and having it committed.

Running a Rails Consultancy- a year in

Highlights from running our small Rails Consultancy for the first year