Rails 6.1 adds support for multiple storage services to Active Storage

Rails 6.1 adds support to configure storage services for individual attachment.

Rails adds ActiveRecord::Relation#annotate for adding SQL comments to ActiveRecord::Relation queries

Rails adds ActiveRecord::Relation#annotate for adding SQL comments to ActiveRecord::Relation queries

Ruby 2.7 - Singleton class yield syntax throws a warning

Ruby 2.7 singleton class yield syntax is warned and will be deprecated in Ruby 3.0.

How to pass arguments to methods in ruby and how it affects their arity

Deep dive into different ways of passing arguments to methods and how it affects their arity

Rails 6.1 adds query method missing to find orphan records

Rails 6.1 adds ActiveRecord::Relation#missing query method to find orphan records

Ruby 2.7 allows placing of comment lines between fluent dots

Ruby 2.7 allows placing of comment lines between chained methods. It facilitates easier debugging and also allows adding a separate comment for one or more chained methods.

Webpacker is the new default in Rails 6

Webpacker is the new default JavaScript compiler instead of Sprockets in Rails 6

Ruby 2.7 fixed the parsing for multiple assignment with `rescue` modifier

Ruby 2.7 fixed how the `rescue` modifier was parsed in multiple assignment statement.

Improving Database performance and overcoming common N+1 issues in Active Record using includes, preload, eager_load, pluck, select, exists?

Improving Database performance and overcoming common N+1 issues in Active Record using includes, preload, eager_load, pluck, select, exists? and reducing number of overall queries

Ruby 2.7 deprecates Regexp#match and Regexp#match? with a nil argument

Ruby 2.7 has deprecated Regexp#match and Regexp#match? with a nil argument. It will raise a TypeError in the next release.