💎 Many of you picked up on my lamentations over Ruby vs Rails content last week and I now have a pile of submissions to consider for future issues – thanks! You'll be glad to know none of today's features are Rails specific 😉 ___ Peter Cooper (@peterc) |
An Opinion on Ruby 3 Typing— Brandur works at Stripe (though not on the Sorbet team) and has experience to back up his opinions about Ruby 3’s approach to static type analysis using separate .rbs files so far (spoiler: he’s not a fan). Brandur Leach |
Victor: A Ruby DSL for Building SVG Images— Like how there are libraries that let you construct XML or HTML using Ruby code, this is the same for vector graphics. With a little imagination, this could open up some neat automated graphical generation use cases. Danny Ben Shitrit |
Updated Ruby Documentation in Ruby 2.7.2— Several areas of Ruby’s official documentation have received a variety of revisions as of Ruby 2.7.2, thanks to Burdette Lamar. We’ve linked to Hash above but Array and ENV have also seen updates. Ruby Core Documentation |
ℹ️ Interested in running a job listing in Ruby Weekly? There's more info here. Ruby Singleton Objects— Avdi has dug around in the archives of Ruby Tapas and given us a free sample focused on singleton objects and a way to structure them. Avdi Grimm |
An Unofficial Active Admin Guide— A break-out of some of the gems that comprise Active Admin (a popular way to roll out admin interfaces for Rails apps) along with how to use them to clean up your AA code. If you use AA, this will make your life better. Svyatoslav Kryukov |
▶ 'My Time with Rails is Up' Says Piotr Solnica— This week the Rails Podcast features Piotr Solnica, best known for his work on ROM.rb and dry-rb, where he discusses his work and why he ‘left’ Rails. Ruby on Rails Podcast podcast |
A Guide to Reactive Rails— A repo holding information and resources about “Reactive” Rails, the best example of being the buzz-worthy StimulusReflex. Obie Fernandez |
Ruby: The Not So Good Parts?— Chris highlighted some of the responses to a Nate Berkopec tweet about things people dislike about Ruby. Chris Mytton |
dotenv-linter: A Lightning-Fast Linter for .env Files— It’s written in Rust but if your project is using a .env file to store environment variables and you want to catch problems like duplicated keys or trailing whitespace, this may have value to you. Grachev Mikhail |
|