-
DelayedJob Workers Are Not Thread Safe
I love DelayedJob. It’s my go-to-gem for background processing in Rails, mainly because it works with whatever data store your project already has in place. No need to bring a different dependency just for background processing. However, using
Delayed::Worker
in threads is problematic. -
Exercism: Practice Your Coding Technique
Perfect practice makes perfect
-
Conway's Game Of Life
I recently read a blog post recently about Conway’s Game Of Life: Since I had not written an implementation myself, I decided to give it a go.
-
Testing With Multiple Ruby And Gem Versions
I found myself writting a gem for internal use that needed to run in several different ruby versions and MRI. In addition, the projects that it would be used in had other dependencies which also meant that it would need to function with different versions of dependencies. Here is how I ensured I was testing all scenarios.
-
Unicorn Vs. Puma: Redux
UPDATE: The benchmarks have been updated for new versions of ruby, jruby, puma and unicorn