Ruby/RoR News Digest 1 - 7.02

Interview with DHH, error handling with Monads in Ruby, handling Ruby 2.7 deprecations warnings and other interesting things
07 February 2020   223

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

Learn about Big-O notation with Ruby, backward-compatible database migrations, check what's behind the magic of Ruby DSLs and more.

Guides

  • Exploring Big-O Notation With Ruby

Tutorial about ‘Big O’ notation that is used to express algorithmic complexity 

  • Error handling with Monads in Ruby

Learn why monads a nice way to handle tracking the success or failure of calls in your app and how to do that

  • Backward-compatible database migrations

Guide, based on the real story about the database migrations on live apps

  • Handling Ruby 2.7 deprecations warnings

Learn how to deal with Ruby 2.7 deprecations warnings in this tutorial

  • Pay No Attention: Behind the Magic of Ruby DSLs

Check the tutorial about method_missing, one of the sharper knives in Ruby’s metaprogramming drawer

  • Dockerizing a Ruby on Rails Application

Learn how to use Docker with Rails

  • Gemifying your style guide to DRY your CSS

Rails can really help you even with CSS

Articles

  • Interview with DHH

Rails creator talks about his relationship with Ruby, and why single page apps, microservices, and standups are not for him

  • What kinds of Rails tests I write and what kinds I don’t

Skilled developer's throughts about tests in Rails

Podcast

  • 306: Ask For The Job with Brian Mariani (Part II)

In this series, Brian Mariani, founder of Mirror Placement, a Ruby on Rails focused recruiting firm, shares her knowledge on financial negotiations during the job interview

Updates

  • SimpleCov

Popular code coverage analysis tool for Ruby

  • Vacuum

A Ruby wrapper to Amazon Product Advertising API 5.0

  • ActiveInteractor

This is an implementation of the command pattern for Ruby with ActiveModel::Validations inspired by the interactor gem

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   222

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