Ruby\RoR News Digest 3 - 9.08

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

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 5 - 11.10

Minitest style guide, why RSpec tests fail algorithms behind RuboCop complexity metrics and much more in this week's Ruby\Rails news digest
11 October 2019   118

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

In this digest you will be able to check the minitest style guide, learn how to troubleshoot the RSpec test fail and get familiar with algorithms behind Rubocop complexity metrics. Also, there are two videos with tips and tricks and system test creating in Rails

Guides

  • The Minitest Style Guide

Style guide for the popular Ruby testing library

Articles

  • Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments

Ruby 3.0, however, will have ‘real’ keyword arguments separated from the idea of hashes instead of initial Ruby's legacy approach in this field; so the automatic conversion of a supplied hash into keyword arguments will yield a warning in Ruby 2.7.

  • Why RSpec Tests Fail (and How To Fix Them)

Examples of where RSpec tests could fail and thoughts on fixing such issues.

  • Algorithms behind RuboCop complexity metrics

Learn how RuboCop calculates its complexity metrics on code.

Updates

  • Spree

4th major version of the "complete open source ecommerce solution for Ruby on Rails"

  • will_paginate

Update of the pagination library that works with Ruby on Rails, Sinatra, Hanami::View, Merb, DataMapper and Sequel.

  • PunyLinux

Build automation  for a minimal Linux system.

Video

  • Episode #210 - Rails Tips and Tricks

  • How to Write System Tests in Rails

Podcasts

  • 290: Ruby for Good with Polly Schandorf

Brittany Martin, host of the 5by5 Ruby on Rails podcasts talks with Polly Schandorf is an organizer of Ruby for Good, an hackathon-of-sorts about using Ruby to make the world “gooder”