Ruby/RoR News Digest 2-8.11

Rails 6.0.1 release, active storage changes in Rails 6, persisted queries in GraphQL and many other interesting things
08 November 2019   607

Greetings! I hope your week went great! Here's new "gemmy" programming news digest.

Get familiar with programms, that write themself, how Ruby uses memory exactly, the hide cost of Ruby 2.7 dot-colon method reference usage and many more interesting things.

Guides

  • Persisted queries in GraphQL:Slim down Apollo requests to your Ruby application

Persisted queries are designed for reducing request size by only sending a query ID that is stored on the backend, which is then retrieved and executed; guide covers this topic fully.

  • Writing a program that writes itself

Tutorial about quines in Ruby

Articles

  • How Ruby Really Uses Memory: On the Web and Beyond

New articel by Schneems, totally must-read about the Ruby memory allocation algorithm and what it does when you add thread

  • The hidden cost of the Ruby 2.7 dot-colon method reference usage

Another fee you will be paying for not so "free" Ruby's syntax sugar

  • Rails 6 - Active Storage changes

Detailed look on the changes that was made to one of the main Ruby on Rails gems in version 6

  • Use GitHub Actions for Rails CI with Postgres

This guide gives you the look on the beta version of GitHub's Actions which gives you an opportunaity to run arbitrary workflows, including tests, after certain things happen within your git repository.

Updates

  • Prism

Allows you to build frontend web apps with Ruby and WebAssembly

  • Rails 6.0.1 released

Some bugs are fixed; get more details by clicking on the link above.

  • Tabulo

A terminal table generator for Ruby that may be used, for example, in a live coding session.

Video

  • Episode #214 - Plugging in AnyCable

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   894

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