#125 🚀 Dev Containers, Depreciation Warnings, Design Systems, Cursor-based Querying, Rails Debugbar, and more…

Happy Wednesday!

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

1. 🚀 Setting up consistent development environments can be challenging, particularly for established Ruby on Rails applications. In the article, Setting Up Rails with Dev Containers, Mateus provides a practical guide to containerizing existing Rails projects using Dev Containers. The article walks through creating the setup to streamline onboarding and ensure reproducibility across teams. Whether you're working with Rails 8 or maintaining a legacy app, this guide offers a clear path to modernizing your development workflow.

2. ⚠️ Amanda's newest article on the FastRuby Blog, Extracting Rails Deprecation Warnings from Rails Source Code, shows how to leverage the Abstract Syntax Tree (AST) to extract all deprecation warning messages from the Rails source code, for versions 2.3 to 8.0. Rather than relying on error-prone regex, it leverages the tree-sitter parser to identify the relevant method calls associated with deprecation notices and reliably extract the message strings regardless of how they are passed (as strings, heredocs, or variables).

3. 🧑🏽‍💻 Choosing the right design system for a Rails application in 2025 remains a challenge. In the blog post Design System Options for Rails, the Business Class team explores several modern UI component libraries, including Shadcn/ui, DaisyUI, Flowbite, Preline, and RubyUI, and evaluates their compatibility with Rails. The post highlights the benefits and limitations of each, offering insights into how they can be integrated into Rails projects to enhance the user interface while maintaining a streamlined development process.


🚀 FastRuby.io Makes Your Rails Upgrade Delightfully Boring

FastRuby.io’s monthly maintenance services keep security and uptime high & costs low. The team behind RailsBump.org offers gradual, 0-downtime upgrades — making technical debt remediation feel delightfully boring. 🌳 Bonsai plans start at $4,000/month. Move up or down a plan level as needed.

Which plan is right for you?


4. 📦 Integrating complex npm packages into a Rails 8 application using the default Propshaft and importmap-rails setup can present challenges. In his blog post, Rails 8 Assets: Adding a Bundled Package Alongside Vanilla Setup, Radan Skorić demonstrates how to seamlessly incorporate a bundled JavaScript package, such as Tom Select, without overhauling your existing asset pipeline.

5. 🍾 Profiling Ruby on Rails applications is crucial for identifying performance bottlenecks and ensuring efficient operation. In Profiling Ruby on Rails Applications with Rails Debugbar, Akshay Khot introduces the Rails Debugbar, a tool inspired by Laravel Debugbar. This tool provides developers with insights into SQL queries, object allocations, and more, all directly within the browser. The article guides you through setting up a sample Rails application, demonstrates how to identify common issues such as N+1 queries, and provides practical solutions to optimize performance.

6.⚙️ Pagination using LIMIT and OFFSET can lead to performance issues in large datasets. In Cursor-based Querying with Rails, Ryan Bigg introduces the postgresql_cursor gem and demonstrates how to iterate efficiently through records using PostgreSQL cursors. This method reduces memory usage and maintains consistent performance, making it a valuable technique for Rails developers handling extensive data.

7. ✅ Check out these new versions of these gems 💎

And some other popular gems related to code quality...

👀 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 receive 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.