We’re closing out the year by looking back at some of the biggest developments from across the Ruby landscape.
The most popular link in 2018 was about Action Text, a new framework coming to Rails 6 to make it easier to edit and display rich text content. It leans upon Basecamp’s Trix editor and DHH recorded a screencast showing how it works.
Ruby has been a long overlooked language when it comes to serverless but OpenWhisk, an open source serverless system, added native support earlier this year.
Sundeep Agarwal | Shared in Issue 389
Ruby isn’t just for building webapps, y’know. It’s an amazing Swiss army knife for anyone at the command line and these examples could help you out with a lot of menial tasks.
Analysis of the ten most common errors from over 1,000 Rails projects monitored by Rollbar, along with advice on avoiding such errors yourself.
Victor Shepelev| Shared in Issue 396
Ruby Weekly readers are clearly interested in Ruby continuing to add new features as the second most popular link this year followed a presentation at RubyKaigi, proposing a way to add pattern matching to Ruby.
Matz’s conclusion was that he liked the idea but not the syntax and further suggestions are sought.
Yui Naruse | Shared in January’s Issue 381
With Ruby 2.6 just around the corner, it’s no surprise to see the Ruby 2.5 release make our list. We shared the release details back in our January 2018 issue.
Version 2.5 was 5–10% faster than 2.4, hashes get new transform_keys and slice methods, ERB was twice as fast, and more.
Rails 6 isn’t out just yet, but this page links to a variety of interesting pull requests and commits related to the next major version of Rails.
Noah Gibbs| Shared in Issue 385
2018 was the year of Ruby 2.5 and it’s been one of the most stable and impressive major Ruby releases I can remember while offering relatively modest performance improvements.
Saverio Miroddi | Shared in Issue 390
It’s not often written about but building graphical apps in Ruby is a thing, and here’s a comparison of the most popular approaches.
An in-depth explanation of a patch to Ruby that both reduces memory and speeds up performance (with
require going 35% faster).
Back in March, Mike Perham of Sidekiq fame explained how freezing your strings can help performance quite a bit and how Ruby 2.3+ can help make this easier.
Radek Markiewicz | Shared in Issue 400
Based on a talk from Wroclove.rb, the tools and tricks listed here will result in better Rails and general Web performance.
Thanks for taking a look back with us. 👏
Want more like this? Subscribe to the Ruby Weekly newsletter.