The 15 most popular Ruby links of 2016 🔻
We’ve delved into all the data from Ruby Weekly and found the most popular links of the year.
Here’s a round-up of articles, news and tutorials that readers clicked on in 2016:
A fun quiz to see if you remember “where Ruby ends and Rails starts.” Curiously, neither Matz nor DHH got 10 out of 10.
Many people expressed concern about the state of Rails, with some choosing to leave the Ruby community altogether. Were these concerns something you worried about this year? Here’s a response to Piotr Solnica’s My Time with Rails is Up which attracted a lot of attention.
The release of Rails 5.0 proved popular. Headline features include Action Cable, a framework for handling WebSockets in Rails apps, API mode, ideal for building back-ends to single-page apps, and Turbolinks 5.
Paraphrasing: “Whenever I have the inclination I want to add a method on a controller that’s not part of the default REST actions, I make a new controller.”
Walkthroughs and examples for methods like Object#tap, Array#bsearch (a Ruby 2.0-ism) and Enumerable#flat_map.
You’ll pick up a trick or two here.
DHH walks us through his process in driving out a name for a class and method. A lesson in one of the hard things in programming.
Giles Bowkett | Shared in Issue 318
The journey of a developer who moved a React-powered app to Rails including why he decided to do it and how it worked out.
Don’t be ashamed if placing
p) statements throughout your code is your debugging style - Ruby and Rails core team member Aaron ‘tenderlove’ Patterson does it, and shows off a ton of great examples here.
Jonan Scheffler | Shared in Issue 323
At RubyKaigi, Jonan Scheffler caught up with three of Ruby’s biggest names to talk about Ruby 3x3 and Ruby’s path to significantly improved performance.
Jesus Castello | Shared in Issue 281
“I knew all but one of these but I love poking around with this stuff. I’m sure you’ll find a new tidbit here, even if it’s not useful for everyday coding.”
Much of Rails’ early popularity was owed to a ‘build a blog in 15 minutes’ video DHH recorded in 2004 — so this video of DHH covering similar ground, but with Rails 5’s features was welcomed.
These nine rules that every Rails developer could read and re-read got plenty of attention.
Ruby on Rails Guides| Shared in Issue 285
An under development official guide to using Rails 5’s ‘Rails API’ feature to create an API-only app.
Daniel P. Clark | Shared in Issue 28o
A fun grab bag of interesting things (and their usage) in Ruby, from Hash#invert and IRB’s _ to unary operators and aliases.
How many do you already know?
Never want to miss out on anything Ruby related? Subscribe to Ruby Weekly now and receive a round-up of the latest from the Ruby community in your inbox each week.