Hi! As is traditional for the final Ruby Weekly of the year, we're doing a roundup of the most popular items of the year, but we'll be back on January 2 with a special Ruby 2.7 issue as the final version of Ruby 2.7 should be released on Christmas Day.
Thanks for your continued support, we really appreciate it. See you in two weeks for the Ruby 2.7 news!
— Peter Cooper, Glenn Goodrich and the Cooperpress team
|
🏆 The Top 6 Ruby Items of 2019 |
Three ActiveRecord Mistakes That Slow Down Rails Apps — Our most popular link came in just the third issue of the year. Nate Berkopec wrote a thorough piece on the performance perils of count , where , and present? and advice for improving your own use of them.
Nate Berkopec
|
A Guide to Function Composition in Ruby — Ruby 2.6’s introduction of the << and >> function composition operators opened up some interesting new techniques and this article toured them deftly.
Paul Mucur
|
Rails 6.0 Was Released — This year saw a very significant Rails release which, by this point, you're probably more than familiar with.
Official Rails Blog
|
A Ruby 3 Progress Report — Ruby 3 is (still) due to be released in 2020 and progress is looking good. This was only a slidedeck and is several months old now, but still does a good job of illustrating the main points.
RubyKaigi 2019 slidedeck
|
Find a Job Through Vettery — Make a profile, name your salary, and connect with hiring managers from top employers. Vettery is completely free for job seekers.
Vettery
|
📘 Top Articles & Tutorials of 2019 |
Magic Comments in Ruby — You’ve likely seen (and even used) ‘magic’ comments, but you probably don’t know all of them or understand things like precedence.
Mehdi Farsi
|
What Is a CI/CD Engineer? — Find out how a new role devoted to CI/CD could help teams hyper-optimize their pipelines and speed up development.
CircleCI
|
10 New Things in Active Record (in Rails 6) — A neat roundup that covers things like rails db:prepare , database switching, #annotate , #touch_all and implicit ordering by a specific column (which is nicer than using a default scope).
Jason Dinsmore
|
Rails on Windows Is Not Just Possible.. It's Fabulous — Ruby and Rails development on Windows has been pretty frustrating for well over a decade. Microsoft’s strides to accommodate the Unix way of life via WSL2 and VS Code have changed that in a big way and Ruby on Windows has had an encouraging 2019 (if only by means of going via Linux).
Scott Hanselman
|
Why Does My App's Memory Use Grow Over Time? — Ruby’s memory allocation algorithm is not quite what you might think. As you add threads, considering the per-thread and across-all-threads impacts are necessary to get a firm picture of what is happening.
Richard Schneeman
|
🛠 Top Code and Tools of 2019 |
Sidekiq 6.0 Released — The popular background job framework reached 6.0 by both adding (logging formatters, ActiveJob integration) and taking away (init.d daemons). 6.0.3 is the latest version as of right now.
Mike Perham
|
Opal 1.0: The Ruby to JavaScript Compiler — A release that was seven years in the making, Opal is now faster, supports more Ruby features (such as Module.prepend ) and has a promising roadmap for those that want Ruby in the browser (though WebAssembly also holds promise on that front in 2020).
Elia Schito
|
|