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.
Yesterday
Glimmer DSL for Web Wins in Fukuoka Prefecture Future IT Initiative 2025 Competition
Glimmer DSL for Web (Ruby Web Frontend Framework) won an award in the Fukuoka Prefecture Future IT Initiative 2025 competition after I presented it to Yukihiro Matsumoto (the creator of Ruby) and other Fukuoka competition judges earlier this week on January 21, 2025! It’s official! Matz approves of Glimmer DSL for Web!!! https://andymaleh.blogspot.com/2025/01/glimmer-dsl-for-web-wins-in-fukuoka.html
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.