đ Season's greetings! As 2021 ends we're taking the opportunity to wrap things up with a look back at the most popular items of the year. Ruby 3.1 is likely to be released on Christmas Day so we might â fingers crossed â be back in a week or so to cover it, but, if not, the first full issue of the new year will be on January 6, 2022 and I'll see you again then. |
#â584 â December 23, 2021 |
Ruby Weekly |
Some Ruby Weekly Highlights from 2021 |
1. Â A Ruby One-Liners Cookbook â Ruby is a fantastic language for one-liners, whether in IRB or even from the command line. This cookbook is an extension of a epic list of them weâve shared before. Sundeep Agarwal |
2.  What We Can Learn From _why, The Long Lost Developer â GitHub did a great feature on a Rubyist who actually left the community some years ago: why the lucky stiff. _why was a prolific member of the community who wrote a popular introductory guide to Ruby, maintained several libraries, drew cartoons, and more. Their memory, work, and attitude live on. Klint Finley (GitHub ReadME Project) |
|
3. Â Rails Controller Patterns and Anti-Patterns â This was last in a series of popular posts about Rails patterns and anti-patterns. Previous excursions covered patterns and anti-patterns for views and for models, if you want the whole set. Nikola Äuza |
4.  RBS: A New Ruby 3 Typing Language in Action â RBS was introduced with Ruby 3.0 about a year ago and it wasn't the easiest thing to get your head around. This article went into more depth and provided a handy introduction (and comparison to Sorbet) if typed Ruby intrigues you. Diogo Souza |
Best of the rest:
|
|
đ Â Top Code & Tools Links of 2021 |
Awesome Print Came Back: Pretty Print Your Ruby Objects with Style â For years, Awesome Print has provided a great way to âpretty printâ Ruby objects in a way that goes far beyond what the standard library's Awesome Print Team |
Privacy-Aware Rails Consoles with console1984 and audits1984 â Basecamp created console1984 to protect sensitive/encrypted data in a console connected to production. The audits1984 gem provides a UI (Rails engine) to examine the logs created by console1984. Jorge Manrubia (Basecamp) |
Complete Peace of Mind Rails Hosting â If you need a break over the holidays, you need OpsCare. We keep your app running, 24 hours a day, 7 days a week with a worldwide team. OpsCare by reinteractive sponsor |
Fisk: A Pure Ruby x86-64 Assembler â An interesting project from tenderlove and a clever bit of work representing x86 assembly language via a mostly implicit Ruby DSL. It relates to his recent work on his own JIT compiler written in Ruby as seen on his recent livestreams. Aaron 'tenderlove' Patterson |
Adornable: A Way to Use Decorators on Ruby Methods â If youâve ever looked at Pythonâs decorators or Lispâs âadviceâ and thought youâd like a similar way to extend Ruby methods, this might be for you. Keegan Leitz |
YouPlot: A Command Line Tool That Draw Plots in The Terminal â I continue to be impressed by the aesthetic of this. The underlying plotting library is unicode_plot.rb if you want to pull off similar things in your own code. Red Data Tools |
Shortcut Puts the Agile in Agile and the âCanâ in Kanban Shortcut (formerly Clubhouse.io) sponsor |
Rails Mini Profiler 0.7.0: Performance Profiling for Rails, Made Simple â Rails Mini Profiler provides detailed information about your requests to help you figure out why certain requests perform poorly. Hans-Jörg Schnedlitz |
Standard 1.5: A Ruby Style Guide, Linter and Formatter â As StandardJS is to JavaScript, Standard is to Ruby, and it's seen quite a few updates this year. test double |
đșÂ Top Videos of 2021 |
â¶Â  The Talks from RailsConf 2021 â When we linked these talks back in May there were only 10 videos in the conference's playlist but now there are 75! So there's a lot to catch up on if you didn't attend, whether it's Jamie Gaskins demystifying Hotwire, Jemma Issroff showing us a 'day in the life' of a Ruby object, or a keynote from Bryan Liles. Ruby Central (YouTube) |
â¶Â  Matz's Euruko Keynote: Beyond Ruby 3.0 â The founder and chief designer of our favorite language gave a virtual keynote and focused on what Ruby has achieved with version 3 and where efforts were headed for the remainder of 2021. Itâs quite long but Matheus Richard wrote some notes on Twitter. Yukihiro 'Matz' Matsumoto |
â¶Â  Some Rails Best Practices in 20 Minutes â A well recorded screencast covering a variety of ideas. Jack Kinsella |
â¶Â  How to Debug a Rails App â A nice 30-minute screencast gently introducing you to the practicalities of debugging Rails apps from the basics through to using external tools and gems to help. Phil Smy |
â¶Â  Matz's Talk at a Crystal Conference â Weâve mentioned Crystal, a Ruby-inspired compiled and statically typed language, a few times in 2021, and even Rubyâs creator gave a talk to the Crystal community where he showed support for their endeavors and said he âencourages the searchâ for better solutions. Yukihiro 'Matz' Matsumoto |