Tutorials

Setting up Cloudflare R2 buckets for Active Storage
Rails comes with a built-in support for saving and uploading files to S3 and S3-compatible storage services in Active Storage. Here’s how to set up Cloudflare R2.To start using Cloudflare R2, select R2 Object Storage from the menu on the left navb...

Inserting One New Element into Hashes of Varying Sizes - Pat Shaughnessy
I've started working on a new edition of Ruby Under a Microscope that covers Ruby 3.x. I'm working on this in my spare time, so it will take a while. Leave a comment or drop me a line and I'll email you when it's finished.
RUM includes a series o...

Benchmarking caching in Rails with Redis vs the alternatives - BigBinary Blog
Recently, we have seen the rise of Redis alternatives. Some of them claimed substantial performance gains. We did this benchmarking to see how much performance gain one would get by switching from Redis to one of the alternatives.
We explored sev...


Benchmarking caching in Rails with Redis vs the alternatives - BigBinary Blog
Benchmarking caching in Rails including Redis, Memcached, Valkey, DragonflyDB, SolidCache with PostgreSQL, SolidCache with SQLite3, and LiteCache with SQLite3.Recently, we have seen the rise of Redis alternatives. Some of them claimed substantial ...

Understanding Neural Networks with Ruby - DEV Community
Neural networks are a fundamental part of modern artificial intelligence and machine learning. They are inspired by the structure of the human brain and are used to recognize patterns, make predictions, and process complex data. These networks con...


