#122 🚀 Rails 8.0.2, Aliases, Pitchfork, Rails vs. Next.js, and more…

Happy Wednesday!

Here is issue #122 of our newsletter, which offers news and the best tools for your current or future Rails projects...

1. 🚀 When working with Ruby, small differences in syntax can lead to unexpected results. In the article, A Tale of 3 Aliases, Mateus explores the nuances between .alias, .alias_method, and .define_method, three ways to create method aliases in Ruby, each with its own behavior and best-use scenarios. This article helps clarify when and how to use each approach effectively.

2. 🔥 Rails Version 8.0.2 has been released! The release includes various updates and bug fixes across multiple components; refer to the official changelogs on GitHub for detailed information.

3. 💎 Performance bottlenecks can sometimes lurk in the most unexpected places. In ​The Pitchfork Story​, Jean Boussier shares his journey of uncovering and fixing a subtle yet costly Ruby performance issue. Through careful investigation and benchmarking, he demonstrates how a small change made a big impact. If you're passionate about optimizing Ruby applications, this deep dive into performance tuning is a must-read.


🚨Is technical debt slowing down your Rails app? Stay ahead with Bonsai! 🚀

🌳 Upgrading a legacy Rails application can be overwhelming—but it doesn’t have to be. Bonsai, FastRuby.io’s monthly maintenance service, delivers seamless, zero-downtime upgrades for a fixed monthly price while giving you the flexibility to scale your tier as needed.

Don’t just take our word for it—see how our Bonsai team helped our client seamlessly transition from Rails 5.2 to Rails 7 without disrupting their workflow. Read the case study and take the first step toward a faster, more maintainable codebase today!


4. 🛠️ Rails vs. Next.js: Choosing the right technology stack is crucial when building a modern web application. In Why Ruby on Rails still matters: An old tool endures in a Next.js world, Phillip explores the strengths, use cases, and developer experiences of these two powerful frameworks—comparing Ruby on Rails’ backend efficiency with Next.js’ frontend performance. If you're a Rails developer curious about Next.js or considering the best stack for your next project, this comparison provides valuable insights.

5. 📧 Phlex for Rails Emails: A Cleaner Approach to Action Mailer. In the article Phlex for Rails Emails: Action Mailer without ERB​​, Camillo explores how Phlex, a component-based Ruby view framework, can render emails in Rails without relying on ERB templates. By leveraging Phlex, developers can write more maintainable, object-oriented email views while keeping things fast and testable. Check out the guide if you want a modern alternative to traditional Rails email templates.

6. 🧐 Hexagonal Architecture in Rails: A Smarter Way to Structure Your App. If you've ever struggled with tightly coupled Rails applications, Hexagonal Architecture might be the game-changer you need. This article from The Code Gardener introduces the Ports and Adapters pattern. It explains how it can improve the separation of concerns, testability, and long-term maintainability of your Rails projects.

7. 🌎 Rails World is September 4th - 5th, 2025 in Amsterdam. Apply to speak at Rails World 2025. CFP is open until April 10th!

👀 Check out our other articles on: ​​Performance​​ | ​Upgrades​​​ | ​​​Best Practices​​​ | ​​​Tech Debt​​

Bookmark them, share them, or save them. We hope you found these links helpful.😉

Know anyone who would love to get this newsletter? Tell them to ​​​subscribe to the Rails Upgrade News newsletter​​​​​

Best,

The ​​​​​FastRuby.io​​​​​ Team



Don't wait to bring your Rails application up to date.

We will get on a quick call and recommend a couple of options to start upgrading your Rails app.