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
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
The Minitest Style Guide
Style guide for the popular Ruby testing library
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.
4th major version of the "complete open source ecommerce solution for Ruby on Rails"
Update of the pagination library that works with Ruby on Rails, Sinatra, Hanami::View, Merb, DataMapper and Sequel.
Build automation for a minimal Linux system.
Episode #210 - Rails Tips and Tricks
How to Write System Tests in Rails
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”