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.
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
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.
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]
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.
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.
Exploring the Meaning of Ruby's Global Constants and Variables
By default, Ruby defines many constants and global variables that can be used in the code to get information about the current state of the application and the runtime. In this article we’ll go over most of them to understand what they are and what information we can set and get to simplify our scripts or to debug problems. [more inside]
Stream Updates to Your Users with LiteCable for Ruby on Rails
In the fourth part of this series, we’ll use LiteCable for WebSockets and stream updates to users via Turbo Streams: https://blog.appsignal.com/2023/12/13/stream-updates-to-your-users-with-litecable-for-ruby-on-rails.html
How and Why to Measure Dependency Freshness in Your Ruby Application
Whether you are working in a legacy Ruby application, or a brand new application, measuring your dependency freshness score can be a positive indicator to understand whether you are staying current or gradually falling out of date. [more inside]
How to Dual Boot your Application with Rails' Main Branch
You just finished upgrading your app to the latest Rails version and you made the decision to never stay behind and always be ready to upgrade as soon as possible… But how can you do that? [more inside]
Monke See, Monke Do - Let's generate 21000 monkes in a (28x28) pixel art edition
Hello, i prepared a 21 000 “Monke See, Monke Do” monke pixel art image (28px) collection. Yes, in ruby. The /monkesee-monkedo 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 with ruby.
Speeding up our Rails CI with Github actions and parallel_tests
This article outlines how we used parallel_tests and Github Actions to bring our CI times down from 25 to 10 minutes. It starts with an overview of our previous setup and its challenges, we them move on to setting requirements, the research we conducted, and the proof of concepts we tried out. We then discuss the implementation phase, highlighting some decisions we took along the way. The experiences and strategies shared in this article may hopefully offer useful ideas for you to enhance your own CI.