Three Ruby Links #3
If I were to recommend three articles published last week to read, here is what I would recommend:
1️⃣ The Thread API : Concurrent, colorless Ruby by JP Camara
JP Camara continues their series about concurrency, parallelism, and async programming and this one is about threads. It is a deep dive into Ruby threads with a lot of code samples.
2️⃣ Ruby shebang behavior by Ashok Gautham Jadatharan
Ashok found an interesting allowed behavior from CRuby interpreter that allows to create scripts that can run both bash and Ruby commands. The article shows code samples about how to do this.
3️⃣ How to test graphql-ruby responses by Dmitry Tsepelev
Dmitry is writing a good tutorial about how to test GraphQL using RSpec, but the ideas presented here can be applied also to Minitest. The code samples are clear, with comments to understand pros and cons.
You can find a lot more articles to read in the full edition of Short
Ruby Newsletter at https://newsletter.shortruby.com/p/edition-105
Check out the schedule for https://friendlyrb.com - a conference I co-organize in September this year in Bucharest, Romania. We will have exciting talks and a relaxing atmosphere to meet new Ruby developers.