Cowie.me

Posts

Using Railway-Oriented Programming to Model Business Transactions

Simplify complex procedures using monads to organize your logic

How to use Rails and Webpack to develop and serve a Javascript client library

Webpacker makes it easy to develop a client Javascript library for JAMstack sites to interface with APIs, while bringing the entire stack of friendly and familiar Rails tools to bear for development and testing.

Run Rails Test Suite with Dockerized Selenium on Gitlab CI

With just 3 drop in tweaks, it's possible to run Rails' System Tests on Gitlab CI, or other Docker based continuous integration services.

Deliver Paperclip and Pipeline Assets with Amazon CloudFront

CDN configuration is tricky and adds complexity to a server set up, but is well worth the effort.