Happy Wednesday! Here is issue #118 of our newsletter, which offers news and the best tools for your current or future Rails projects… 1. 🚀 Segmentation faults in Ruby, though rare, can be daunting, especially when caused by third-party gems. Henrique explores how to identify, debug, and resolve the issue, turning a frustrating error into a learning opportunity about Ruby's architecture and effective debugging techniques. 2. 🔎 In her newest article, From Types in Elasticsearch to Type-Less Indices in OpenSearch, Aysan explains the deprecation of types in Elasticsearch and provides a guide for replicating their functionality in OpenSearch using aliases. 3. 🔥 Ruby 3.4 and Ruby 3.4.1 were released with various improvements and updates. Ruby 3.4 focuses on code clarity, performance, and improved developer tooling. 4. 💎 Discover Ruby 3.4's quirky new block parameter feature, it, making code simpler (and pun-friendly) for developers! What is ‘it’ and how does ‘it’ work? 5. 🚀 Explore the new params.expect feature introduced in Rails 8, which simplifies parameter handling and enhances security. Learn how it improves over the traditional require and permit methods by preventing tampering and making parameter sanitization more robust. Discover how to use params.expect for arrays, nested attributes, and transitioning from existing codebases for a safer Rails application. Check out the episode How to use params.expect in Rails 8+ 🆘 Are you stuck on an outdated version of Ruby or Rails? 💎 FastRuby.io's Bonsai monthly maintenance service keeps costs low and complexity minimal for gradual, 0-downtime upgrades. Bonsai makes upgrades cost-effective and delightfully boring so you can focus on what matters. Ruby 3.1 and Rails 7.0 reach end of life by April 1, 2025. Don't wait to tackle your tech debt. 6. 🔐 Unlock the full potential of the Rails console with lesser-known tips and tricks, from silencing logs to crafting custom helpers for seamless development! 7. 🆕 Heroku's upcoming "Fir" application stack marks the platform's first major update in over a decade. Fir introduces modern ARM-based hardware and a broader range of dyno tiers. It promises improved performance with dedicated computing resources, addressing long-standing limitations. What else do they have in store? Is Heroku’s New Stack What We’ve Been Waiting For? 8. 😎 Streamline your Rails projects by creating custom generators that save time and reduce manual effort. This guide walks you through the basics of creating a Rails generator, enhancing it with arguments and options, and ensuring it's backed by reliable tests. 👀 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 |