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.
Measuring Ruby Garbage Collector
The Garbage Collector releases memory slots from unused objects. However, it interrupts the Ruby execution and might significantly increase requests’ response time. Would you like to know how the GC slows down your app?
v0.7.4 release of actual_db_schema
Exciting news! We’re rolling out a special release of actual_db_schema! Version 0.7.4 adds support for Rails 6.0 and the edge versions.
Creating a REST API with Ruby on Rails
Here I show my way of creating REST APIs with Ruby on Rails. This might seem simple for those who already know, but it could be of great help to someone who is just starting out: Read more
Todo MVC Ruby Edition is the one Todo MVC To Rule Them All!!!
Todo MVC is a popular sample that is built in all Web Frontend Frameworks to provide a comprehensive example covering all basic Frontend features. As such, it provides Software Engineers with a very good idea of how day-to-day Frontend Development would be with every Frontend Framework, whether in JavaScript, using React, Angular, Ember, or Vue, or in a Compile-to-JavaScript language, using something like Elm, GWT, or Scala.js. I am happy to announce that Todo MVC has just been built using Glimmer DSL for Web with 100% Frontend Ruby code. And, this version’s code is easily simpler, more minimalistic, more readable, and more maintainable than all 45+ versions on the Todo MVC website! I can confidently say it is the one Todo MVC to rule them all! Thanks to the awesomeness of Ruby in the Browser!!!
Curated dashboards in Honeybadger
Here’s what we worked on during our last product cycle at Honeybadger: a curated Rails performance dashboard with automatic Ruby instrumentation! ✨
Creating indexes on big tables like a boss
Struggling with adding an index to a large table in your Rails app without clogging deployment pipeline? Read more
Synvert now supports the Prism parser
Synvert provides the ability to write code snippets that can automatically rewrite your source code. Here’s a post to demonstrate that synvert supports the prism parser now.
Understanding Kamal healthchecks
Here’s a post on all the healthcheck settings you might want to understand in Kamal.
The art of Turbo Mount: Hotwire meets modern JS frameworks
The art of Turbo Mount: Hotwire meets modern JS frameworks Read more
ActiveStorage::Blob#compose Now Supports Custom Blob Key in Rails 7.2.
ActiveStorage::Blob#compose Now Supports Custom Blob Key in Rails 7.2. Read more
Monitor the Performance of Your Ruby on Rails Application Using AppSignal
In the second part of this two-part series, we’ll use AppSignal to monitor the performance of our Ruby on Rails application:
Memory management in Ruby 💎
Ruby, is hiding you the complexities of this task
ActiveStorage::Blob#compose Now Supports Custom Blob Key in Rails 7.2.
Rails 7.2 allows to add custom blob key in the ActiveStorage::Blob APIs Read more
Implementing dark mode with Stimulus
Here’s a simple dark mode with Tailwind and Stimulus.
Astronoby v0.5.0 released
With new features related to the Moon 🌙 Location in the sky, moonset and moonrise times, distance, phases, illuminates fraction, …
How to refresh the full page when submitting a form inside a Turbo Frame?
I find it kind of strange that this doesn’t work out of the box, but there a few ways to do it, all not too complex: How to refresh the full page when submitting a form inside a Turbo Frame?
Ruby endless method - a quick intor
Continuing my series of writing about Ruby endless method in an article where I show some code samples of both one-liners and multi-line endless methods
How to Use Tailwind CSS for Your Ruby On Rails Project
Let’s see how we can use Tailwind CSS in a Rails application and explore its utility-first approach:
Ruby Warsaw Community Conference - New info!
Another speaker and workshops on Ruby Warsaw Community Conference announced! 🎫 📣 Read more
How to build a Rails API with rate limiting
How secure is your Rails API? Learn how to build an API with Ruby on Rails and use rack-attack to keep the bad actors out. A new article from Jeffery Morhous.
Blue Ridge Ruby is exactly what we need
“This year’s Blue Ridge Ruby conference in Asheville, North Carolina, was not only a wonderful experience but also highlighted the opportunity (and what’s at stake) in the Ruby community.”
Rails 7: Default Dockerfile for Alpine Linux
I wrote a quick tutorial on modifying the default Rails 7 Dockerfile to use Alpine Linux. Alpine is a lightweight distribution that can result in much smaller Docker images for your apps. Read more
Hotwire Combobox
In this episode, we tackle the issue of slow-loading dropdowns with a high volume of options by implementing an asynchronous select using the Hotwire Combobox library. https://www.driftingruby.com/episodes/hotwire-combobox