Rails
Rails 6.1 Adds if_not_exists for Indexes
Rails 6.1 adds if_not_exists option to add_index, propagating from create_table to indexes in the same block.Using Interactors in Rails Applications
Interactors provide a common interface for performing complex user interactions.Ways for reducing Heroku slug size
Techniques for reducing Heroku slug size for Rails applicationsRails Adds Descending Order to Batch Methods
Rails 6.1 adds order option to find_each, find_in_batches, and in_batches for ascending or descending processing.Rails - Added sub seconds to Time inspect
Rails has added sub seconds to ActiveSupport::TimeWithZone#inspect method.Rails Adds db:rollback:name for Multi-DB
Rails has added support for name option while rollbacking migration for multiple database applicationRails 6.1 Adds Enumerable#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 stream_or_reject_for
Rails 6.1 adds `ActionCable::Channel#stream_or_reject_for` to stream or reject connection based on presence of recordHeredocs in Ruby and Rails Explained
What are heredoc and different ways to use them in Ruby and Rails.