Jan 29, 2020
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
Jan 28, 2020
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.
Jan 27, 2020
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
Jan 21, 2020
Rails 6.1 adds query method missing to find orphan records
Rails 6.1 adds ActiveRecord::Relation#missing query method to find orphan records
Jan 20, 2020
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.
Jan 15, 2020
Webpacker is the new default in Rails 6
Webpacker is the new default JavaScript compiler instead of Sprockets in Rails 6
Jan 13, 2020
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.
Jan 8, 2020
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
Jan 7, 2020
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.
Jan 6, 2020
Ruby 2.7 reverts the deprecation of flip-flop operator
Ruby 2.7 reverts the deprecation of flip-flop operator