Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Renaissance of Ruby on Rails - Steven Baker
2nd presentation from Ruby Warsaw Community Conference! [more inside]
Building translation management for a Rails app
Years ago, I encountered the challenge of allowing users to contribute to translations, especially for languages other than English. We relied on third-party SaaS solutions for an extended period. However, as time passed, we needed to explore a custom solution crafted to our evolving business model and software requirements. That’s how I started working on what we now know as LesliBabel – a simple yet useful engine for handling translations. No need to tinker with yml or json files. More importantly for my users, it comes with a friendly web interface and updates in real-time. Now, LesliBabel is fully open-source, integrated into the Lesli Framework ecosystem. You can explore a brief introduction (and check out the online demo) here: https://www.lesli.dev/engines/babel/ The first stable version of Lesli (following its open-source release) is coming!
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. https://danielabaron.me/blog/rails-query-perf/
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 - https://github.com/fatkodima/activerecord_cursor_paginate [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. https://github.com/svoop/minitest-substitute?tab=readme-ov-file#update-from-0xx-to-1xx
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: https://blog.appsignal.com/2024/03/06/active-record-or-sequel-which-best-fits-the-needs-of-your-ruby-app.html
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. https://www.rubyonmac.dev/how-to-fix-missing-symbol-called-when-running-rails-commands
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 https://dev.to/kopylov_vlad/why-i-love-ruby-44g9
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]