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.
Today
Pushed First Commits of Frontend Ruby Code Using Glimmer DSL for Web to Job Rails App
I’m happy to report that I officially pushed the first Opal Ruby + Glimmer DSL for Web code commits to my job’s Rails repo in the Admin UI last week. It is just amazing how Glimmer components written in Ruby to replace React components are way simpler and smaller! It’s not even close! My productivity definitely feels double at least while producing about half the code. This is so exciting! It reminds me of the early fun days of discovering Ruby, but on the Frontend! There is so much potential and so many possibilities. It is super exciting to discover new patterns and best practices. Ruby creates so much programmer happiness compared to JavaScript! https://andymaleh.blogspot.com/2025/01/pushed-first-commit-of-opal-ruby.html
Single Line Complexity in Ruby
Interested in improving the maintainability of your Ruby codebase? Check out this new way of detecting difficult-to-maintain code using RuboCop: [more inside]
How to Build a Progressive Web App with Ruby on Rails 8
Learn to create fast, reliable, and engaging PWAs using Ruby on Rails 8, Hotwire, and Service Workers without relying on external libraries. Read more - https://blog.railsforgedev.com/how-to-build-a-progressive-web-app-with-ruby-on-rails-8-a-complete-guide
rails_local_analytics
Analytics should be simple for Rails apps but I felt we lacked a simple drop-in solution that was both flexible and covers most generic needs out of the box. Therefore I present to you: [more inside]
Introducing Ephem
Ephem is a Ruby gem made to compute astronomical ephemerides from NASA JPL Development Ephemerides. https://dev.to/rhannequin/introducing-ephem-5827
Adding button loader to Turbo-powered forms
Here’s how I am adding loading spinners to Turbo forms.
Multiple schemas support added to ActualDbSchema
🚀 Big news! The latest version of #actual_db_schema is here, now with multiple schema support! 🎉 Plus, a host of other useful fixes. [more inside]
ruby -run, again
Previously we learned about a tool in Ruby’s standard library called “un”. After some consideration it occurred to me some might wonder, “How does this work?”. [more inside]
Rails Stats: Browse stats from real Rails projects
View the LoC from small Rails apps to the bigger ones (inc. the OG; Basecamp). Will be launching this fun side project this week. https://railsstats.com/ [more inside]
What Is It (in Ruby 3.4)?
Have you heard about it? Have you used it? Are you excited about it? What is it, and how can you use it in ruby? Find out! [more inside]
Prefetching subresources with Signed Exchanges - part 2/8
I will explain how to drastically improve your website’s loading time for Google-referred users using a little-known technology called Signed Exchanges (SXG). [more inside]
Autoflux - a lightweight AI agent gem
Autoflux uses 300 lines to implement an agent framework that can utilize tools and support switching between multiple agents and customization.
Let me help you pass Ruby Certification Exam
Quick description what it is, how the exam procedures look like and most importantly - how to prepare for passing it. [more inside]
Sequent 8.0.2: Support for ActiveRecord 8.0
Sequent 8.0.2 has been released with support for ActiveRecord 8.0.
Use cases for Turbo’s Custom Events
Many actions from Turbo send custom events before and upon completion. You can use this to your advantage. https://railsdesigner.com/turbo-custom-events/
Filterameter 1.0.1: Support for Ruby LSP
Just released Filterameter 1.0.1, with support for Ruby LSP including Hover and Go-to-Definition.
How Honeybadger migrated from Sidekiq to Karafka
Honeybadger recently migrated our background job processing from Sidekiq to Karafka. Here’s what we learned.
A simple trick to understand Ruby’s lazy enumerator
You may not typically need to reach for a lazy enumerator, but it sure comes in handy when you do. But how do you know when to use it? [more inside]
Awesome Ruby blogs
Hello everybody! 👏 I want to share with you an updated list of awesome Ruby blogs Feel free for send me pull request! I will be glad if you find something new for yourself in it. Thanks and have a good winter day! ❄️ 💎 ⛄
Glimmer DSL for Web now officially supports Rails 7.1 & 7.2
Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) version 0.6.4 has been released! It now officially supports Rails 7.1 & 7.2 (Rails 8 support is planned for the future). https://andymaleh.blogspot.com/2025/01/glimmer-dsl-for-web-now-supports-rails.html