Ruby/RoR News Digest 18 - 24.01

Matz' interview from Ruby Russia 2019, JIT compiler by Red Hat, Reverse Coverage tool guide and many other interesting things
24 January 2020   186

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

Learn about the modern Ruby serializers, how to speed up your Rails apps and how to migrate to strong parameters.

Articles

  • Yukihiro Matsumoto: "Ruby is designed for humans, not machines"

Creator of the Ruby language once again visited largest Russian Ruby event and his interview is finally available

  • Modern Ruby Serializers 

Check the history of various serializers, all the way to the introduction of SimpleAMS, a new serialization library, created by the author of the post and check how it compares to other options

  • MIR: A lightweight JIT compiler project

Red Hat's light JIT compiler development had begun

Guides

  • Rails is Fast: Optimize Your View Performance

Learn how to speed uo your Rails app

  • Reverse Coverage: Find which tests execute which lines of code

Guide on ReverseCoverage tool that can show which tests execute which lines of code

  • URI.escape is obsolete. Percent-encoding your query string

Rails and non-Rails approaches to properly encoding your query strings now, because the URI.escape is quite an old method

  • From Single drop-down to Multiple check-boxes

Learn how to move from a belongs_to/has_many to has_and_belongs_to_many association in a live Rails app.

  • Ruby 2.7 allows placing of comment lines between fluent dots

Tiny, but handy new feature may not know about

  • The Complete Guide to Migrate to Strong Parameters

Rails 4.0 had added strong parameters so, if you’re still using protected attributes anywhere though, you may benefit from this tutorial.

Video

  • How to use AWS Cloud9 for Ruby on Rails development

Ruby/RoR News Digest 8 - 14.02

Guide on Ruby concurrency, understanding Rails secrets\credentails, system tests in Rails with Minitest and other interesting things
14 February 2020   134

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

Learn about automatic image moderation with Amazon Rekognition, the easy way of configurating Kubernetes for Ruby, how to migrate from Rails API to Crystal and AWS Lambda and check more intesting stuff. 

Guides

  • Opening The Ruby Concurrency Toolbox

This guide covers threads, fibers, guilds with some practical comparisons

  • Automatic image moderation using Amazon Rekognition

Amazon Rekognition detects inappropriate content in images and it can be used in Ruby with ActiveStorage

  • Understanding Rails secrets/credentials

Basic guide about storing secrets and credentials that don't need to be stored in plaintext

  • Rubynetes: Kubernetes config the easy way

Learn how to use Ruby with Kubernetes without YAML

  • Getting Started With System Tests in Rails With Minitest

Beginners tutorial on testing in Rails using popular solution

  • My Experience Migrating a Rails API to Crystal and AWS Lambda – Part I

A story, which can be used as a tutorial for migrating from Rails API to Crystal and AWS Lambda

Articles

  • Rails introduces disallowed deprecations in ActiveSupport

A newspost with detailed code example on new ActiveSupport feature

Updates

  • GitHub CLI is now in beta

New GitHub command line tool is now available in beta 

  • The Twitter Ruby Gem

A Ruby interface for the Twitter API

  • httplog

This solution will help for networks working - allows to log outgoing HTTP request with Ruby