Blog

Thoughts from my daily grind
Posted by Ziyan Junaideen 26 October 2022
Fix Library not loaded: /usr/local/lib/libpq.5.4.dylib error after you upgrade your Homebrew packages.
Posted by Ziyan Junaideen 12 May 2022
Fix the error when bundle install of a Ruby on Rails project w.r.t. nio4r. The issue generally is the result of implicit function declaration causing errors compiling native C extensions.
Posted by Ziyan Junaideen 28 March 2022
The popular Ruby on Rails library ActsAsTaggableOn wrongfully selects the parent class in STI resulting empty #tagged_with method output. The solution would be to use a custom query.
Posted by Ziyan Junaideen 02 January 2020
The Ruby-retry method allows us to effortlessly retry a met a code block or an error handled method when an error is raised. This posts explains the retry method with an example use.