Testing Child Processes in Ruby – Grinding Gears
I was recently writing a piece of code that we wanted to act as a supervisor of child processes. We wanted to ask this supervisor the following “Hello .
How well Rails developers actually test their apps | Arkency Blog
Here are the results of our State of Testing in Rails apps survey results. I have distilled the most interesting numbers for your reading pleasure and .
Ruby 3 Pattern Matching Applied: Poker
Ruby 3.0 introduced Pattern Matching as a key feature, but if you're like a lot of folks you may not entirely be sure what it's used for or why you mig.
Upgrading to 2.0 · omniauth/omniauth Wiki
Because Rails handles its CSRF protection in its RequestForgeryProtection class, and stores tokens in a non-vanilla-rack friendly way, you must pass a .
Ruby comes to Cloud Functions | Google Cloud Blog
Cloud Functions, Google Cloud’s Function as a Service (FaaS) offering, is a lightweight compute platform for creating single-purpose, stand-alone funct.
When used intelligently, Rails concerns are great - Code with Jason
There seem to be two main camps regarding Rails concerns. One camp says concerns are good. The other camp says concerns are bad.I don’t buy this dichot.
A quick tip to speed up bundle installs
So in my case, if I run bundle config set jobs 4, it will use all four processors the next time I use bundle install. Depending on the size of your pro.
Code Master Blog: How to Use Ruby Case Statements with === / Higher Order Lambdas / Pattern Matching
In this blog post, I will go over a practical example from a real project of how to use the Ruby `case` statement with Class implicit `is_a?` compariso.
Rails 6.1 adds support for role switching and sharding in database | Saeloun Blog
Rails 6.1 adds the ability to switch a role or shard for an application with multiple databases. This means it is possible to switch connections for on.
Level Up Your Rails Code Reviews In 11 Ways
Code reviews have become the norm and there are lots of articles that talk about how they should be done, but its easy to get lost in all the details y.