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.
I am putting everything I know into a first ever book on Kamal
I decided I put everything I know to a short, to-the-point Kamal book with nice graphics and syntax highlighting. And I am doing presell with an option for a patron copy with Early Access.
HexaPDF 0.38.0 - PDF/A-3b support
The newest release of HexaPDF now supports the creation of PDF/A-3b files (and also 2b, 2u and 3u conforming files). See https://hexapdf.gettalong.org/documentation/pdfa/index.html for information and https://hexapdf.gettalong.org/examples/pdfa.html for an example.
Efficient Database Queries in Rails: A Practical Approach
This post will walk through a step-by-step approach to PostgreSQL query enhancement in Rails applications. From indexing strategies to running migrations without downtime, to efficient column selection, you’ll learn some techniques to ensure optimal query performance.
Extralite 2.8 released
I’m pleased to announce that Extralite version 2.8 has just been released. Extralite is a Ruby gem for working with SQLite databases. New in this release: better query mode names, simplified querying APIs, a new Database#wal_checkpoint method for performing manual WAL checkpoints, and improved documentation. [more inside]
A somewhat-scientific poll for a future blog post that will debunk some of the myths
I’m doing a series of somewhat-scientific polls on how Rubyists search for things and how/where do they ask for help. This is for a future blog post that will try to debunk some of the common myths and FUD we constantly hear about Ruby. Please vote so I can get a decent sample size!
(Ab)using Rails 7.1's #generates_token_for for List-Unsubscribe Headers
I wrote a post where I explain how I migrated a project from Amazon SES to Postmark while adding List-Unsubscribe headers by (ab)using Rails 7.1’s #generates_token_for.
Image processing service for Rails apps
Generating and serving thumbnails efficiently in Rails apps is still a headache. [more inside]
Optimize Puma worker configuration
Discover the balance between the number of threads and response times by tweaking Puma threads and processes. Learn how to adjust these settings for optimal performance and minimal resource usage in our latest blog post.
New gem for cursor-based pagination
Announcing a new gem for cursor-based pagination in rails - [more inside]
Weird Ruby: Incrementing Strings
Here’s the next installment in the Weird Ruby series. Enjoy!
minitest-substitute and Rails 7+
Object#with introduced by Rails 7 didn’t play nice with minitest-substitute until now. I’ve therefore dropped the the conflicting “with” on the new minitest-substitute-1.0.0 release in favour of “substitute” to override variables of any kind for the duration of a block in your tests or specs.
Honeybadger launches structured logging, data visualizations, and dashboards
Introducing Honeybadger Insights: it’s the logging tool you always wanted and the observability tool you didn’t know you needed. Read the blog post
Montreal.rb 2024/03 - Frontend Ruby with Glimmer DSL for Web - Andy Maleh
The talk video and slides have been posted for the Montreal.rb March 2024 talk “Frontend Ruby with Glimmer DSL for Web” (Ruby in the Browser Web Frontend Framework). [more inside]
Zeitwerk Internals - Xavier Noria
The first presentation from the Ruby Warsaw Community Conference! [more inside]
Active Record or Sequel: Which Best Fits The Needs of Your Ruby App?
Let’s compare some Active Record features to its lesser-known but powerful cousin, Sequel:
How to fix "missing symbol called" when running Rails commands
From my experience building Ruby on Mac, and helping people get their Rails apps up and running, I explain the most common reasons for the “dyld: missing symbol called” error and how to fix it.
How learning Rust changed my Ruby Workflow
For the last few months, I’ve been working semi-full-time on my first Rust project. After the first painful weeks of struggling against The Compiler, I feel I’m now spoiled by Rust development experience. In this blog post, I’ll describe improvements to my Ruby workflow that originate from what I’ve seen in the Rust ecosystem. [more inside]
Why I love Ruby
As a developer with over 8 years of coding experience, I’ve worked with many languages and I decided to focus my efforts on Ruby. This essay is about why I like using Ruby for work, and why it’s still relevant
Streaming LLM Responses
In this episode, we look at running a self hosted Large Language Model (LLM) and consuming it with a Rails application. We will use a background to make API requests to the LLM and then stream the responses in real-time to the browser. https://www.driftingruby.com/episodes/streaming-llm-responses
Creating new rails app or adding a new scaffold? - Use this rails command generator
I created a tool that let’s you select what you want to generate with supported options. [more inside]
Add a Kafka Consumer to Rails
Learn how to integrate a Kafka consumer into a Rails application using the Karafka gem.