The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
26 December 2023
23 December 2023
Introducing Rabarber: Our Simple Take on Rails Authorization
Hey Ruby devs, Just wanted to give you a heads up about Rabarber, a little authorization library we cooked up. We noticed that some popular ones out there were a bit much for our taste, so we made our own. It’s not claiming to be better or fancier. It’s just a straightforward, easy-to-use option that we found handy. If you want to give it a shot, here’s the link: https://github.com/enjaku4/rabarber. We’re using it, we like it, maybe you’ll find it useful too.
21 December 2023
Building a CRUD Application with Ruby on Rails
Building a CRUD Application with Ruby on Rails
20 December 2023
Automate Fly Postgres Database Backup & Store To S3 bucket With GitHub Actions
Discover how GitHub Actions empowers automation to effortlessly backup Fly.io hosted Postgres databases, saving backups to a designated S3 bucket. [more inside]
What's New in Ruby 3.3.0? (Prism, YJIT, RJIT, GC, Performance, M:N)
With the Ruby 3.3.0 release around the corner, we wanted to share a summary of the changes that are coming in this new version. There are many exciting new features and improvements: [more inside]
19 December 2023
Smart routes aliases in Rails
Redirect complex user-specific routes to a simple and memorable URL with Rails alias routes. [more inside]
Render flash messages in Hanami, but like a PRO | Hanami Mastery #052
Showing flash messages in Hanami is trivial, and it is even shown in the official guides. In this episode though, we make this future-proof, testable, and maintainable for the future growth of your application. [more inside]
Turbo 8 morphing deep dive - how idiomorph works? (with an interactive playground)
Idiomorph javascript library sits at the heart of the upcoming Turbo morphing feature. Understanding how it works will be critical to getting the most out of it. Which is why I dove in and then wrote an article that breaks down exactly how it works and what we should keep in mind when using Turbo morphing: Turbo 8 morphing deep dive - how idiomorph works? (with an interactive playground)
18 December 2023
Automatically generate shell completions for command_kit CLI apps!
command_kit-completion 0.1.0 was released. This gem adds a rake task that automatically generates bash/zsh shell completion rules for command_kit CLI apps.
Integration Patterns for Distributed Architecture - Intro to dionysus-rb
In the previous blog post from this series, I promised we would introduce something special this time. So here we go - meet almighty Dionysus, who knows how to make the most of Kafka, especially if what you need is Change Data Capture for you domain models. [more inside]
What's new in Ruby 3.3
We’re only a week away from a new release of Ruby. Here’s a look at what to expect from Ruby 3.3: [more inside]
Cucumber extension for Hanami
Make the Hanami can test with Cucumber: https://github.com/elct9620/hanami-cucumber
17 December 2023
Why we Bundle Exec (ReExamined)
Ever wondered why you often see bundle exec before Ruby commands like rails db:migrate or rake? This guide breaks it down. Learn how omitting it might cause errors due to conflicting gem versions. Why we Bundle Exec (ReExamined)
Implementing a Base32 encoder in Ruby
A bit of a “niche” topic, but I thought I’d share my deep dive into Base32 (or any Base2^n) encoding: https://ptrchm.com/posts/base32-explained/
Let's Rock - Let's generate 1000 rocks in a (28x28) pixel art edition
Hello, i prepared a thousand “Let’s Rock” rocks pixel art image (28px) collection. Yes, in ruby. The /letsrock repo includes everything incl. the sprites / tiles / attributes, the random meta data generation, the image generation one-by-one in 1x and 8x and an all-in-one composite fam and more. happy pixel pushing and rocking with ruby.
16 December 2023
Graphs and Charts 0.1.1 (Custom Controls for Glimmer DSL for LibUI)
Graphs and Charts is a new library for Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library) that aims at providing Custom Controls for rendering graphs and charts. In version 0.1.1, it supports Line Graph in a new line_graph
Custom Control for rendering lines (1 or more) connecting points with different y-axis values along a time-based x-axis. [more inside]
15 December 2023
How we designed Flipper Cloud to never take your app down
When I considered starting Flipper Cloud, my overriding concern was how can I ensure that I never take someone else’s app down. This post dives into why and how. [more inside]
Why we switched from Heroku Scheduler
After seven years, we’re finally moving away from Heroku’s free add-on for scheduled jobs. This article dives into why we’re making the switch, and how we chose our new setup.
14 December 2023
Exploring `it` default block param warning in Ruby 3.3
I took a short look with some simple examples at Ruby 3.3 RC1 warning about using it
in a block that might conflict with the new accepted it
as default block params.