RSS Amplifier

Blog

razorjack.net

Remote Ruby, Rails, JavaScript developer; microservices, domain-driven design, software architecture.

razorjack.netRSS feed ↗9 posts

Latest posts

Fifteen Ruby takes on a stepped-worker DSL

Fifteen Ruby idioms for declaring the steps of a multi-step worker. From a manifest constant to Fibers, Enumerators, and callcc.

Railsmaxxing, or hidden Rails gems

A tour of underused Rails features – and three that look like gems but bite.

An RSpec-like test DSL in Ruby, from scratch

We'll implement an RSpec-like DSL with it, expect, and a few matchers

Securing deployment credentials stored in home directory

Many command-line utilities drop their plain-text access tokens in the home directory. This post demonstrates basic hygiene to protect them.

Playing with Ruby object model: prototypal inheritance

Ruby doesn't have a prototypal inheritance, but it's so flexible that we can implement it. This article demonstrates how.

wkhtmltopdf on Heroku: evaluating different installation options

This article explores different ways of installing wkhtmltopdf on Heroku, analyzes their drawbacks, and identifies the most reliable one.

Analyzing, visualizing and optimizing JS bundle size in Rails/Webpacker apps

In this article, we'll create a Rails app with a simple React, analyze the bundle size and try to optimize two common reasons for size inflation.

Implementing DSL in Ruby, part 1: CSV importer

We'll implement a simple DSL to define a CSV schema (with type coercions) and then import it with only simple techniques (blocks, procs – no metaprogramming).

Playing with typed collections using dry-types

This article demonstrates how to implement a typed array in Ruby by using dry-types gem