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.
Code highlighting with Rails
As developers, there usually comes a time when we have to deal with syntax highlighting. Whether we’re building a blog, a CMS, a documentation site, or any other Rails app that accepts user-generated markdown, adding syntax highlighting to code blocks is an essential feature. In this article, we will learn how to add syntax highlighting to Rails applications by showing different ways to do it and a couple of nice tricks to improve the user experience. Read the full article on: https://avohq.io/blog/code-highlighting-with-rails
Switching From Ruby to SQL Schema in Rails
Need to switch from Ruby to SQL schema mid Rails project? Here’s how https://danielabaron.me/blog/from-ruby-to-sql-schema/
Resolving the 'rest_framework' Module Not Found Error
The ModuleNotFoundError: No module named ‘rest_framework’ is a common issue faced by developers working with Django REST Framework (DRF). This error typically indicates that your Python environment cannot locate the rest_framework package, which is essential for DRF to function correctly. Let’s break down the most common causes and how to fix them. https://jsdev.space/howto/rest-framework-modulenotfounderror/
Announcing Attractive.js, a new JavaScript-free JavaScript library
Because Rails developers don’t want to write JavaScript 👉 https://railsdesigner.com/announcing-attractive-js/
Ruby Butler: Time to Rethink RubyGems and Bundler
https://rubyelders.com/writings/2025-10-ruby-butler-1.html
CMDx - Service object Zen 🌸🍵🎍🪷🧘♂️🌅
Say goodbye to messy service objects. CMDx provides a framework for designing complex business logic with clarity and consistency. https://drexed.github.io/cmdx/ [more inside]
Sentry Ruby SDK 6.0.0 Released
bringing several new capabilities and a few breaking changes. [more inside]
Quickly clear the Rails cache in development
Sometimes you just need to quickly clear the cache when working in your development environment. Full snippet here: https://avohq.io/blog/quickly-clear-the-rails-cache-in-development
Phlex on Rails course is completed and launched
I’m officially launching the Phlex on Rails video course at https://beautifulruby.com/articles/phlex-on-rails-launch. It’s 45 videos split up across 7 units that clocked in at over 7 hours of instruction. It covers how to use Phlex in new and existing Rails apps. Hope you enjoy it! ✌️
How to Accept Crypto Payments in Rails
I wanted to see what it would take to implement crypto payments in my app. With Coinbase Commerce, it’s surprisingly easy. [more inside]
Open Graph Image Generation in Rails
If we have a site that publishes a considerable amount of content, we usually need to generate the assets that go with each piece of content. For example, if it’s a blog post like this one, we might need a cover, diagrams, screenshots, etc. However, sometimes we neglect the Open Graph image, even if it’s arguably one of the most important assets: it’s what people see before they decide to read our content or not. In this article we will learn how to generate Open Graph images with Ruby in a Rails application and how to automate the process using one or more templates. Read the full article on: https://avohq.io/blog/open-graph-image-generation-rails
Rails Console-like Environment for a Plain Ruby Project
If you’re building a Ruby project without Rails and miss the convenience of bin/rails console, this post walks through how to set up a similar interactive environment for exploration and debugging https://danielabaron.me/blog/rails-console-like-environment-for-plain-ruby/
Happy Ending for Discrimination Experienced at Tech Companies
I reported a few weeks ago some discrimination that my girlfriend has experienced at a tech team, which is similar to discrimination I have experienced in the Ruby community. The good news is last week, my girlfriend finally had a happy ending to this discrimination problem. The good guys and gals always win in the end! Evil never triumphs permanently! https://andymaleh.blogspot.com/2025/10/happy-ending-for-discrimination.html
Beskar - Rails Security Engine for the Paranoid (vibe-coded during SOC 2 audits)
Going through SOC 2 compliance for Humadroid made me realize there’s a gap in Rails security - between basic authentication and actually sleeping at night. [more inside]
Expand your Ruby knowledge with deliberate practice
We’ve compiled suggestions of specific exercises that will expose you to a wide range of examples that embody the most important concepts and prepare you to start building real-world applications with Ruby. [more inside]
How does Turbo work with ActionCable?
Turbo and ActionCable make it easy to build real-time features in our apps. How do they work? This article attempts to demystify some of the inner workings: https://ducktypelabs.com/how-does-turbo-work-with-action-cable/
Rails 8.1 Local CI as First-Class Support
Rails 8.1 is really leaning into running our CI pipelines locally. Here’s a bit of a rundown: https://www.fastruby.io/blog/rails-8-1-local-ci.html
Render a Component Preview In Showcase for Ruby on Rails
Let’s explore how to render a preview of a component in Showcase for Rails: https://blog.appsignal.com/2025/10/15/render-a-component-preview-in-showcase-for-ruby-on-rails.html
Lexxy - The next generation rich text editor for Rails
Lexxy is a new rich text editor for Rails Action Text, built on Meta’s Lexical framework. It adds cool features like easy Markdown support, real-time code highlighting, smart links etc. making it better than the Trix editor for features and cleaner web page code. Wrote about it in this blog - https://blog.saeloun.com/2025/10/14/lexxy-editor/
Off the grid Ruby development
This summer I made a Phlex on Rails video course outside, off the grid, so I wrote about it at https://beautifulruby.com/articles/portable-workstation-iteration-one in case others want to put together a Ruby dev rig & recording studio that works anywhere in the world with a Starlink, solar panel, MacBook, and standing desk.