Rails 6.1 Released— The newest Rails train has just pulled into the station! If your app needs the flexibility of per-database connection switching or horizontal sharding, this is a compelling update. We also get strict loading associations (stop N+1s in their tracks), delegated Active Record types (as a rather nicer alternative to STI), and performance improvements all round. Here’s a table showing if you’re ready to upgrade apps on various versions of Rails to the new version. Official Rails Blog |
Ruby 3.0.0 Preview 2 Released— Are you ready for the final Ruby 3.0 release due on Christmas Day? If you want to get testing ASAP, this preview is what you need. Static typing (via RBS), ractors, TypeProf, one line pattern matching, MJIT, end -less method definitions, and Fiber#scheduler are all here. But bye bye to $SAFE . Yui Naruse |
Introducing New Features for the aws-sdk-rails Gem— The Ruby SDK team at AWS have unveiled a big refactoring of aws-sdk-rails to make developing Rails applications using AWS easier than ever. What do you get? An SQS adapter for Active Job, loading of AWS credentials using Rails’ encrypted credentials, use DynamoDB for session storage, and more. Matt Muller (AWS) |
Software Developer (Austin, TX)— We're a largely ex-Pivotal tech team looking for developers with all levels of experience. If you enjoy learning, collaborating, and creative problem solving then let's talk. Stronghold Resource Partners |
ℹ️ Interested in running a job listing in Ruby Weekly? There's more info here. |
Is Ruby 3 Actually Three Times Faster?— It depends on how you define performance and what your baseline is, but the short answer is “yes”. However, don’t expect Rails to be 3x faster. Let’s just enjoy the fact that our favorite language is much faster now than it was a decade ago. Noah Gibbs |
How to Create a AWS Lambda Layer of Your Gem Dependencies— Throwing Ruby code into the cloud with AWS Lambda is easy, but getting the heavier dependencies (e.g. nokogiri, or the http gem) working isn’t quite as easy. I worked out how to do it without heavy tooling requirements. Peter Cooper |
▶ A Chat with dev.to's Site Reliability Engineer— A 52-minute chat with Molly Struve, Site Reliability Engineer at Forem (the broader name of the company running the popular Rails-powered dev.to community), about monitoring, types of incidents, and dividing time between incident response and preventative work. Rails with Jason podcast |
Organizations and Layers of Abstraction— After year of working in Shopify’s production engineering team, Kir has seen how managing layers of abstraction is key to solving scalability issues. Kir Shatrov |
JRuby 9.2.14.0 Released— As work continues on JRuby 9.3, we get another 9.2 release to fix up a few dependencies (WEBrick, did_you_mean, JNR) and various bugs/issues. JRuby Team |
|