Tutorials
Rails 7.1 adds support for MessagePack as a Message Serializer | Shakacode
MessagePack is an efficient binary data format used for exchanging data between different programming languages. It's like JSON, but it aims to be:Faster: MessagePack serializes and deserializes data much quicker than JSON, often resulting in sign...
How to deal with PostgreSQL Backups using Kamal - Stefan Botzenhart
Developed by 37signals (creators of Ruby on Rails, Basecamp and Hey), Kamal is a modern evolution of Capistrano for the world of containerised applications.In addition to its hassle-free deployment on servers, whether virtual machines or bare meta...
Rails/ActiveStorage: Client-Side encryption with Amazon S3
Recently, we implemented client-side encryption for ActiveStorage - Which was a customer’s requirement in light of FISA and Schrems II GDPR rulings. In summary, relying only on Amazon’s KMS is not enough, so we implemented Client-Side encryption. ...
Composite primary keys in Rails - Honeybadger Developer Blog
Primary keys are vital in the design of a relational database. They are crucial in uniquely identifying records.For example, if you have a table of users, you will need to identify each record uniquely. This is where primary keys are used. Primary...
Headless Chrome Ruby - Conquering Automation with Ferrum | Shakacode
Ferrum, affectionately dubbed the Headless Chrome Ruby API, is a gem that allows Ruby programmers to interact with Chrome and Chromium browsers in a simple, efficient, and protocol-driven manner. Unlike Selenium, which relies on WebDriver and exte...
Migrating From Dokku to Kamal: Scheduling Cron Jobs
This is the third post of the series "Migrating From Dokku to Kamal" and today I am gonna show you how I've set cron with Kamal, click here to read the second post of the series in case you've missed it.I needed a way run periodic tasks on Kamal t...