Ruby\RoR News Digest 3 - 9.08

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

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 16-22.11

10 new things in Acitve Record in Rails 6, Ruby Next update, RubyConf video with Matz and other interesting things
22 November 2019   395

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

Learn how to Rails engines with RuboCop, about similiarty in Postgres and Rails with Trigrams, how to work with Capistrano and more.

Guides

  • Isolating Rails Engines with RuboCop

Learn how RuboCop can be used to help programmatically enforce the isolation of the engines with RuboCop

  • Pulling the trigger: How to update counter caches in your Rails app without Active Record callbacks

A Postgres-focused approach to keeping your counter caches in sync only with database triggers.

  • Similarity in Postgres and Rails using Trigrams

Guide about pg_trgm is a core Postgres module that gives functions for determining the similarity of strings based on trigram matching

  • Working with Capistrano: Tasks, Roles, and Variables

Tutorial on work with Capistrano

Articles

  • 10 New Things in Active Record (in Rails 6) 

A neat article that talks about things like rails db:prepare, database switching, #annotate, #touch_all and implicit ordering by a specific column (which is nicer than using a default scope).

  • How I Approach Test Coverage Metrics

Comparing 90% coverage to 100% coverage really isn’t a great use for you.

Updates

  • Ruby Next

It  makes modern Ruby code run in older versions and alternative implementations

Video

  • RubyConf - Monday November 18, 2019

  • Testing Times and Dates in Ruby on Rails