Blog

Some thoughts and stuff.

The African Developer Ecosystem from a DevRel Perspective - Part 1

11 April 2022

First things first, I will admit, that is quite a long title for the article but I had to pen it down like so, to drive specific points home not only for the African developers but for companies within and outside Africa that are ready to tap into this ecosystem. Just another disclaimer, I wil...

Read More

Multiple image uploads with Carousel in Rails App - Stimulus

11 April 2022

Carousels are a fantastic way of showcasing media in an app. For a long time, implementing this in Rails was rather difficult. Thanks to StimulusJS (which in my own words, gives Rails apps superpowers), we can easily build this feature out. Please follow along to learn how to go about this. Fi...

Read More

Video upload in Rails using ActionText

10 April 2022

I recently wanted to upload videos to my blog, but to my surprise, ActionText with Trix would not enable video playback. The purpose of this tutorial is to show you how to enable video playback in your content. To better understand ActionText, you can check out the documentation here.Let’s get...

Read More

Infinite Scroll Pagination in Ruby on Rails apps

08 April 2022

Infinite Scroll Pagination in Ruby on Rails apps In my PM roadmap, I had some minor improvements for the scrolling of users in Kubukisa, one of my passion projects. Below is how I had it initially using the pagy gem.  Kubukisa pagination example Not really the best-looking p...

Read More

Fix AWS S3's 'XMLHttpRequest' Error on Trix - Rails 6

07 April 2022

I had this error on this very site and it was actually a pain. After digging around, I finally was able to resolve this and thought I could share the solution. Just a bit of a backdrop, I am using Trix on parts of my App and AWS S3 for storage; trying to upload images was yielding the XMLHttpR...

Read More