RubyFlowThe Ruby and Rails community linklog

×

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

llm.rb: a minimalist's library for interacting with LLMs

llm.rb provides a clean, dependency-free way to work with large language models from Ruby. It supports multiple providers (OpenAI, Gemini, Anthropic, Ollama) through a simple, consistent interface — without external dependencies or heavy abstractions. If you like plain Ruby objects, clear APIs, and composable tools, you might find it useful :)

Adding shortcodes to the Marksmith editor

Occasionally, when creating content using an editor, be it Markdown or WYSIWYG, we need specific parts that exceed standard formatting options. Whether it’s highlighting important information, adding visually enriched snippets or embedding third-party content, the basic editor features often fall short. This is where adding a short code or callout feature is useful. In this article, we will learn how to add shortcode support to the Marksmith editor by building a blog with enriched content abilities. https://avohq.io/blog/marksmith-shortcodes

Seamless Loading with Hotwire Native 🔥

Turbo Native on iOS provides a fast foundation, but achieving smooth loading transitions requires some fine-tuning. In this article, our Rails team walk through how they implemented a lightweight fix using Turbo Streams and a native LoadingStateView, resulting in seamless transitions with minimal code. [more inside]

🧠 Curious about how Ruby actually runs your code?

In this article, I take a peek under the hood and explore how YARV (Yet Another Ruby VM) executes Ruby instructions — from bytecode to stack frames. If you’re into Ruby internals or just want to understand what really happens when your code runs, this is for you. https://rubystacknews.com/2025/04/21/%f0%9f%a7%a0-understanding-rubys-yarv-yet-another-ruby-vm-stack-mechanics-from-code-to-execution/

Loading older posts
close