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.
Topical: Topic Modeling Pipeline for Ruby
Topical brings modern topic modeling to Ruby by orchestrating ClusterKit’s clustering algorithms with c-TF-IDF term extraction. Discover meaningful topics in document collections without the complexity of managing multiple libraries. [more inside]
[ANN] httpx 1.6.0 released
httpx 1.6.0 has been released. [more inside]
Superform 0.6 video tour
On Friday I launched Superform 0.6, which came with some big updates. Today I’m launching the Superform video unit at https://beautifulruby.com/phlex/forms/introduction to give you a curated tour of the gem and how you can start using it in your Rails apps.
Awesome Ruby Blogs
Hello Rubysts! 🖐️ Awesome Ruby Blogs now with RSS feeds and OPML files. If you have any ideas or suggestions for improving this list, please feel free to send a pull request. Thanks and have a nice day! 💎
Strong Service
💪🏼 The best Service Object Ruby gem. https://github.com/shkm/strong_service
MCP on Rails
Learn how to integrate Model Context Protocol (MCP) with Rails to create AI-powered conversational interfaces that transform traditional web applications into intelligent, chat-based tools. https://sinaptia.dev/posts/mcp-on-rails
Rails S3 Direct Uploads
Active Storage has greatly simplified file uploads for Rails applications: it has become the de facto standard replacing alternatives that were dominant back in the day like Paperclip or CarrierWave. Out of the box, it comes with everything we need to handle file uploads, including cloud services like Amazon S3. In this article, we will learn how to add direct uploads to a Rails app using Active Storage. https://avohq.io/blog/rails-s3-direct-uploads
Superform 0.6.x released
Released a big update to Superform! Notes at https://beautifulruby.com/code/superform-0-6-x-released. Some highlights include much better Erb ergonomics, automatic strong parameters (the form does it!), HTML 5 helpers, and more.
AIA is Concurrently Multi-Model
AIA (AI Assistant) version 0.9.12 has been release. Its big new feature is concurrent models! Sent your prompts to multiple models at the same time-ish. In an Async process your prompt can go to many different models of your choice—you must have creds for all the providers. Why? well to compare responses; to generate a consensus; to have more than one robot in your chat sessions; to evaluate the way your prompt is handled by multiple models in a side by side comparison; because I’ve seen no one else do it on the command line and I thought it would be cool. [more inside]
How to get help with Ruby questions
When you’re getting started it’s easy to get lost or you can get stuck when trying to work on an exercise or project. [more inside]
Callback Hell, a gem to list and detect all callbacks and validations in Rails models
Callback Hell analyzes your Rails application models and provides actionable insights on callbacks and validations. Use it to identify models that might benefit from refactoring, spot callback pollution from gems and associations, and keep your models clean and maintainable.
Wubular: a browser-native (Ruby WebAssembly) clone of Rubular
Introducing Wubular: a new Rubular-style regex tester rebuilt to run entirely in the browser, powered by Ruby compiled to WebAssembly. No backend, instant feedback, and full privacy — your test strings never leave the page.
Serviz - New release with Workflows
Serviz provides a minimal “command object Interface” for your Ruby apps. There are several gems in this space, but this one provides a really small API and footprint (code is around 80 lines). [more inside]
Async render in Rails
https://github.com/igorkasyanchuk/async_render allows you to squeeze 5-15% of performance of your existing Rails app with just a few lines of code.
ClusterKit: High-performance UMAP and clustering for Ruby
ClusterKit brings state-of-the-art dimensionality reduction and clustering algorithms to Ruby through native Rust bindings. Run UMAP, PCA, K-means, and HDBSCAN directly in your Ruby process with performance matching Python’s scikit-learn - no Python required. [more inside]
How to edit images with Gemini
This post documents how to edit an image with Gemini + llm.rb
Install any ruby version in minutes
3 step process to get you up and running in less than 15 minutes [more inside]