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.
Last Friday
Top 27 Ruby Developers and ROR Experts
This curated list brings together top experts from both the Ruby and RoR communities, showcasing their significant contributions to the programming world: https://echoglobal.tech/technologies/ruby/
Leaving Heroku: Which Provider Should You Choose?
Running a Rails app on Heroku but are looking to migrate elsewhere due to pricing? I tested some of the top cloud providers on performance and cost to help guide your choice: https://dev-tester.com/leaving-heroku-which-provider-should-you-choose/
How to upgrade a ruby on rails application
Exploring and observing the various elements that require at least a few seconds of attention and no less important in which order they should be upgraded for a Ruby on Rails application: [more inside]
RubyLLM::Instrumentation: The foundation for RubyLLM monitoring
While working on RubyLLM::Monitoring, we needed a way to instrument all RubyLLM operations. But we wanted to do it without changing RubyLLM. Read along to know how we did it. https://sinaptia.dev/posts/ruby-llm-instrumentation-the-foundation-for-rubyllm-monitoring https://github.com/sinaptia/ruby_llm-instrumentation
Notebooks are great for PoCs.
👉 Running Notebooks the Ruby Way [more inside]
ruby_llm-agents: Production-ready Rails engine for building AI agents
I’ve released ruby_llm-agents, a Rails engine for running LLM-powered AI agents in production. [more inside]
debugger_replay - Hot-reload and replay requests during debugging.
Edit code, type r, see changes instantly. [more inside]
An RSpec-like test DSL in Ruby, from scratch
A walkthrough of building a tiny RSpec-style DSL (describe, it, expect, plus eq/contain matchers). Uses instance_eval to run blocks in the DSL context and lambdas as matchers: https://razorjack.net/implementing-dsl-in-ruby-rspec/
Ruby IO buffering
Understanding why Ruby/Rails logs are delayed in Docker containers but instant on localhost. Dive into TTY detection, libc buffering and Ruby IO buffering layers in detail. [more inside]
Embers
Embers is a portmanteau of “embedded” and “ruby script”. It is an embeddable Ruby interpreter for C#. Not quite IronRuby, but an intentionally small Ruby-like implemented language with full .NET interop. [more inside]
Beginners Guide to Ruby If Statements
How to write a conditional statement in Ruby & what a Ruby if statement
inertia_i18n
I’ve just released a new Ruby gem, inertia_i18n, for developers building Rails applications with Inertia.js. The gem focuses on improving and simplifying i18n handling in Inertia-powered Rails apps, making translations easier to manage between the backend and frontend. Repo: https://github.com/alec-c4/inertia_i18n Feedback, issues, and contributions are welcome.
Programming Ruby 4.0 in Beta
Programming Ruby 4.0 is out and the new beta runs against Ruby 4.0 final. [more inside]
A Guide to The Rails G Model
Beginner’s Guide to Creating Database Models in Rails. Rails Generate Model