Ruby\RoR News Digest 3 - 9.08

This week's freshest news, updates and guides from the Ruby and Rails programming
09 August 2019   520

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

As always, we have prepared some great material for you. In this issue, you will learn, for example, how to migrate your Docker\Kubernetes Ruby app today, how to use Ruby unique method to remove duplicates, watch video on how to remove conditionals with Ruby's Array wrap method and many other things.

Guides

  • Don’t change the signature of Sidekiq jobs running in production

Author brings a lot of arguments to the statement, given in the header.

  • Fullstaq Ruby: First impressions, and how to migrate your Docker/Kubernetes Ruby apps today

Short, but interesting tutorial, which covers one of the aspects of Fullstaq Ruby.

  • How to Use The Ruby Uniq Method To Remove Duplicates

 Using uniq with a block provides even more power; great guide for the beginners.

Videos

  • Removing conditionals with Ruby's Array wrap method

  • Dev Quick Tips - Using Ruby's Reduce method to create a Hash of "Banana Bunch" Arrays

Article

  • Tales of the Ruby Grimoire - Part One - The Grimoire

As author of this programming fairytale explains, this is the first of many tales of the legendary Ruby Grimoire, a great and terrible book of Ruby dark magics

  • Introducing the ‘aws-rails-provisioner’ gem developer preview

This gem is designed to help you define and deploy containerized Rails apps on AWS Fargate

Updates

  • Jekyll 4.0.0.pre.beta1 Released 

Pre beta1 of new major version of the solution, that allows to transform text in static websites and blogs

  • Ciao: An HTTP Monitoring Tool, Built on Rails 

Webapp that checks HTTP endpoints and can send notifications when something bad happens

  • Hightop: A Shortcut for Group Count Queries

Adds a top method to Enumberable so works with both plain old arrays or ActiveRecord.

Podcast

  • RR 424: Documenting Your Code

David Kumira (Screencaster of Drifting Ruby, Panelist on Ruby Rogues), Nate Hopkins (CodeFund) and Andrew Mason (Full stack Ruby on Rails developer) talks why documenting your Ruby (and not only Ruby) code is valuable.

Ruby\RoR News Digest 21-26.07

Let’s check what happened in Ruby and Rails programming this week and learn about latest updates and news  
26 July 2019   682

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

There weren't big events or updates last week, but there's still something worth your attention.

Articles and Guides

  • Reading Ruby Metaprogramming Inside Devise 

Guide on how devise_for adds routes and helpers to your Rails app using the metaprogramming.

  • Leaky Constants 

A small thing about constants, but some may really haven't noticed it

  • Mystified by RSpec’s DSL? Some parentheses can add clarity

Simple way to wrap your head around RSpec’s often magical seeming API

  • Ruby on Whales: Dockerizing Ruby and Rails Development 

The articles on ‘dockerizing’ Rails apps, but this one is very good and results in a nice setup.

Updates

  • TTY::Logger: Structured, Attractive Logging on the Terminal

Pretty and formatted logging.

  • QueryTrack: Find Time-Consuming ActiveRecord Database Queries

Can be used with Slack to provide automated notifications with backtraces, raw SQL, time duration, etc.

Podcast

  • Build Chatbot Interactions in Ruby with Daniel Pritchett

Daniel Pritchet is a Ruby dev since 2012; he has been working on publishing a book on building Chatbots in Ruby using a framework called Lita.