Tutorials


Rails adds support for Fiber-safe ActiveRecord ConnectionPools | Saeloun Blog
One of the major focuses for Ruby 3 was parallelism and concurrency. A trailblazer in this space is the use of Ruby Fibers. Fibers are a concurrency mechanism that allows us to pause, loop, and resume execution while consuming far fewer context sw...


Ruby 3.1 adds error highlighting gem | Saeloun Blog
When working with any programming language, developers deal with error stack traces whenever an exception or an error gets raised. The stack trace gracefully points out the error location and provides information about program subroutines.When it ...




Sneak preview: Writing Ruby gem native extensions in Rust – Brian Kung
If this post tickles your fancy, check out the follow-up post: Writing a Rust gem from scratchIn December 2021, Ian Ker-Seymer (@ianks) submitted a pull request to add a CargoBuilder class for handling Rust code in gems, enabling native extensions...


How to Safely Change the Argument Signature of a Sidekiq Job
So the first thing I did was follow the link, which told me I was doing some things wrong concerning best practices. The second thing I did was throw Sidekiq.strict_args! into my Sidekiq initializer, to start raising errors instead of warnings.The...