-
Ruby Block Precedence: An Rspec Gotcha
Recently I came across a spec that didn’t seem to be executing the assertion block passed in to the raise_error expectation. Leaving the bare essentials for the example:
-
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.