Ruby/RoR News Digest 21 - 27.03

Learn why and how to host Rails app with ElasticBeanstalnk, how to do multi-step forms in Rails, listed to Sorbet podcast and more
27 March 2020   999

Greetings! I hope your week went great! Here's new Ruby news digest.

Learn about RuboCoping with legacy, how to secure SSH keys in use, listed to podcast about Sidekiq and check other interesting things in this podcast.

Guides

  • Why and How to Host your Rails 6 App with AWS ElasticBeanstalk and RDS

Tutorial of using one of AWS’s most mature services to deploy a Rails app onto AWS

  • RuboCoping with legacy:Bring your Ruby code up to Standard

This guide is providing you with a "standard" approach of using RuboCop

  • How to do multi-step forms in Rails

This tutorial will teach you how to create multi-step forsm gem-free

  • Securing SSH keys in use

Ruby-powered digging around in SSH keys here. Learn about SSH securing, Ruby-powered

Podcast

  • Sorbet: Typed Ruby with Dmitry Petrashko

Dmitry from Stripe talks about Sorbet, type checker for Ruby

  • Rails with Jason - 037 - Server Infrastructure, systemd, and the Business Side of Sidekiq with Mike Perham

Long talk by Mike Perham of Sidekiq about the business side of Sidekiq, systemd, and server infrastructure in general

Updates

  • Webpacker 5.0 released

Major version of super popular Rails solution that makes it easy to use the webpack to manage application-like JavaScript in Rails brings a lot of changes and updates, like multply files per entry

  • pgsync

Allows to sync data from one Postgres database to another

  • render_async

This gem allows to speed up rendering Rails pages

  • Authlogic

Ruby authentification solution

Git 2.26 to be Released

Git is one of the most popular source code management system and new version brings a lot of changes and updates
23 March 2020   284

Git 2.26.0 distributed source code management system is available. Git is one of the most popular, reliable and high-performance version control systems, providing flexible non-linear development tools based on branch branching and merging. To ensure the integrity of the story and resistance to changes in hindsight, implicit hashing of the entire previous history in each commit is used, and it is also possible to digitally sign the developers of individual tags and commits.

Compared to the previous release, the new version adopted 504 changes prepared with the participation of 64 developers, of which 12 took part in the development for the first time. Key innovations:

  • The default transition to the second version of the Git communication protocol, which is used when remotely connecting the client to the Git server, has been completed.
  • Added option "--show-scope" to the "git config" command, which makes it easier to identify the place in which certain settings are defined
  • The credential binding settings allow the use of masks in the URL.
  • The extension of experimental support for partial clones was continued, which allows transferring only part of the data and working with an incomplete copy of the repository.
  • The performance of the "git grep" command, which is used to search both in the current contents of the repository and in historical revisions, is noticeably increased.
  • Added support for autocompletion of input of subcommands, paths, links, and other arguments of the "git worktree" command, which allows working with several working copies of the repository.
  • Added support for vivid colors for which there are ANSI escape sequences.
  • A new version of the fsmonitor-watchman script has been added, which provides integration with the Facebook Watchman mechanism to speed up tracking of file changes and the appearance of new files.
  • Optimizations have been added to speed up partial clones operations related to the use of bitmap machinery to avoid full enumeration of all objects during recoil filtering.
  • The git rebase command has been moved to another backend using the default 'merge' mechanism (previously used for rebase -i) instead of 'patch + apply'.
  • An example of the authentication parameter handler specified through .netrc is brought to a form suitable for use out of the box.
  • Added gpg.minTrustLevel setting to set the minimum level of trust for various elements that perform digital signature verification.
  • Added "--pathspec-from-file" option to "git rm" and "git stash".
  • Continued improvement of test sets in preparation for the transition to the SHA-2 hash algorithm instead of SHA-1.

Get more at the official mailing and the  Github blog and the Github.