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.
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]
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)
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