Enumerating collections the Ruby way


Enumerate (list/traverse) over a custom collection class using what Ruby provides. No more rolling your own each method that takes in a block with the wonderful & often magical Enumerable module.

Integrating DataTables.net into Rails with Webpacker


Back then, we can just use Sprockets to expose every js contruct on the global scope. It is slightly different with Webpacker. This is an opinionated way to integrate DataTables.net into a Rails 6 project with Webpacker for server-rendered views.

Bidding hello to the world, again


Hello there, and welcome to my blog! In the past, I had written on dev.to but stopped. Today, this will be my first post on my very own blog after a long hiatus. Hopefully I will write much more often.