
With the holidays approaching, the AppSignal team is taking a mini winter break from publishing Ruby posts. We hope to bring you a lot more of them in 2023. 🍵 ❄️
In the meantime, let's look at the top 5 most liked Ruby blog posts from 2022!
State Machines in Ruby: An Introduction
A state machine can hold all possible states of something and the allowed transitions between these states. For example, the state machine for a door would have only two states (open
and closed
) and only two transitions (opening
and closing
). In this post, we'll look at how to set up a state machine in Ruby and use the state machines gem.
An Introduction to Ractors in Ruby
In this post, we'll dive into ractors in Ruby, exploring how to build a ractor. You'll send and receive messages in ractors, and learn about shareable and unshareable objects.
An Introduction to Polymorphism in Ruby on Rails
This article will give you a greater understanding of polymorphism, specifically in Ruby on Rails. To accomplish this, we’ll dive into:
- The use of polymorphism in the real world
- Polymorphism in programming by way of OOP
- How you can incorporate it into your Rails application to help maintain high-quality code
Get Started with Hotwire in Your Ruby on Rails App
Hotwire is a completely new way of adding interactivity to your app with very few lines of code, and it works blazing fast by transmitting HTML over the wire. That means you can keep your hands clean from most Single Page Applications (SPA) frameworks. You can also keep your rendering logic centralized on the server, while still maintaining quick page load times and interactivity.
5 Tips to Design Ruby on Rails Transactions the Right Way
This article offers a set of good practices for working with transactions. The tips are pretty simple, but they will help make your transactions bulletproof, readable, and relatively safe.
Honorable Mention - Test and Optimize Your Ruby on Rails Database Performance
AFK Time!
We hope you've learned something new while reading our blog this year. We know we have! In 2023, our team will continue working hard to publish new blog posts to spread knowledge across the Ruby community and bring you the best content and resources to help you improve your skills and build performant Ruby applications.
Wherever you are in the world, we hope you enjoy a happy and healthy end of year. We hope that 2023 will be an amazing year for you, with no bugs and packed with events and adventures that are almost as sweet as a stroopwafel.
Wondering what you can do next?
Finished this article? Here are a few more things you can do:
- Subscribe to our Ruby Magic newsletter and never miss an article again.
- Start monitoring your Ruby app with AppSignal.
- Share this article on social media
Most popular Ruby articles
Troubleshooting ActiveRecord Performance
You usually don't need to worry about AcriveRecord and its inner workings. This post comes in handy when performance issues arise and you have to start worrying about it.
See moreBuilding a Multi-tenant Ruby on Rails App With Subdomains
Discover different approaches to multitenancy and build a simple app with multiple tenants where each tenant will have its subdomain.
See moreBuilding a Rails App With Multiple Subdomains
Learn how to build a Rails app that can support multiple subdomains.
See more

Milica Maksimović
Become our next author!
AppSignal monitors your apps
AppSignal provides insights for Ruby, Rails, Elixir, Phoenix, Node.js, Express and many other frameworks and libraries. We are located in beautiful Amsterdam. We love stroopwafels. If you do too, let us know. We might send you some!
