Rails 6 adds after_save_commit

Rails 6 adds after_save_commit callback shortcut.

Using bind parameters in Active Record for SQL security and performance

Using bind parameters in Active Record for improved SQL security and performance

Ruby 2.7 adds inherit as an optional argument to Module#autoload?

Ruby 2.7 has added inherit as an optional argument to Module#autoload? to check if a given class or module has an autoload defined for a certain constant

Ruby Lazy Enumerators

Ruby support for lazy loading enumerators

Rails 6 adds tools for Action Cable testing.

Rails 6 adds tools for Action Cable testing.

Rails 6 adds Active Record Relation#pick

Rails 6 adds `ActiveRecord::Relation#pick` to pick the first value from the named column in the relation.

Ruby 2.7 adds UnboundMethod#bind_call method

Ruby 2.7 has added bind_call method to UnboundMethods to avoid the allocation from intermediate Method object

Rails 6 adds delete_by and destroy_by methods.

Rails 6 ActiveRecord::Relation added two new methods delete_by and destroy_by.

Ruby adds Array#intersection method

Ruby adds Array#intersection as a more readable alias for Array#&

Rails 6 adds support for multi environment credentials

Rails 6 has added support for multi environment credentials to manage environment specific credentials