#532 — December 17, 2020 |
🙂 For every other newsletters I write, this is the final week of the year, but with Ruby 3.0 being released this week, Ruby is a special exception! Watch out for a special bonus issue during the holidays ;-) This week, however, is a roundup of the most popular items of 2020 along with a feature and interview (don't miss it!) on using Ruby serverlessly on AWS Lambda. Thanks for your continued support, and if you have anything suitable for the special Ruby 3.0 edition, reply and let me know! |
Ruby Weekly |
The most visited |
1. When Should You NOT Use Rails? — A practical list of examples where Rails doesn’t necessarily shine compared to the alternatives. Given the number of emails I get asking me to balance non-Rails and Rails content in this newsletter, I'm not surprised this was popular. At the same time, I hear Rails has some tricks up its sleeve that will take it to new places in 2021. Noah Gibbs |
2. ▶️ Taking VS Code From Editor to IDE — I am surprised a video made it into the top links of the year. While Visual Studio Code is a powerful editor on its own, here we got to see how the addition of a few extensions can turn it into a more intelligent IDE. (13 minutes.) Drifting Ruby |
|
3. Effectively Using Materialized Views in Rails — Postgres’s views and materialized views provide easy alternative ways of looking at a database’s underlying data through the lens of a persistent query, and working with them in Rails is not too tricky. Leigh Halliday |
By the way, our Postgres newsletter also has a best of 2020 roundup this week :-) |
4. A Proposal for 'Endless' Method Definitions.. That Made It! — I was a bit incredulous when this dropped on April 1st, but it came from a core team member, Matz quite liked the idea, and... it's actually ended up in Ruby 3.0, though with a different syntax than originally proposed. Yusuke Endoh |
5. How to Dockerize a Rails Application — “I had to hear Docker explained about 48,766 times before I finally grasped why it’s useful.” So if you needed that 48,767th time, this tutorial may be for you. Jason Swett |
6. Digging Into Ruby 2.7's Changes — Built up from the official news and release notes, this is a deeper look at what each of the new Ruby 2.7 features and changes really meant, complete with short code examples. I hope we get a similar roundup for Ruby 3.0! Ruby References |
|
🎁 Ruby and Rails Go Serverless |
I've been playing with various serverless platforms and systems (AWS Lambda mostly, but also Cloudflare Workers, Netlify Functions and OpenFaaS) and find them fantastic for running little bits of code in an ops-free style in the cloud. Set and forget type stuff. But when I saw Ken Collins talking about running entire Rails applications with the serverless model, I began to wonder just how viable it was. |
|
This article got me thinking that while we frequently link to things about how to use Ruby serverlessly, we never really explained the why so I wanted to ask Ken some questions... |
|
🛠 Top 5 GitHub Repos We Linked To in 2020 |
Based on unique clicks from unique subscribers — no shenanigans here :-) |
Ferrum: Headless Chrome Ruby API — If you've used Puppeteer or Playwright in Node.js, this is the same idea in Ruby. It works really well. I've used it on a few projects without complaint. RubyCDP |
Noticed: Notifications for Rails Apps — Supports database, email, Action Cable, Twilio, Slack, and custom delivery methods. There’s a 12 minute screencast showing it off too. Chris Oliver |
TruffleRuby: High Performance GraalVM-Powered Ruby — Built on GraalVM, TruffleRuby is an up and coming (well, I guess by now it’s just 'here') high performance Ruby implementation that passes all the RubyGems tests. Oracle |
|
SuperDiff: View Differences Between Complex Data Structures in RSpec — When you’ve got something that’s expected and what actually came back, distinguishing the difference between them can be a pain. This attempts to make it easier. Elliot Winkler |
Super Bombinhas: A Ruby-Powered Platform Game — We featured this twice this year as it keeps getting updates. For a Ruby powered game, it’s surprisingly slick and if you’re intrigued at making games (or maybe even just standalone graphical apps) in Ruby, the codebase is well worth scouring (as is the MiniGL library its creator has made). Victor David Santos |
💻 Jobs |
Software Developer (Austin, TX) — We're a largely ex-Pivotal tech team looking for developers with all levels of experience. If you enjoy learning, collaborating, and creative problem solving then let's talk. Stronghold Resource Partners |
Rails Engineer - Top Consultancy (Fully Remote / India) — Highly-technical Rails/React/Node firm with a great work/life balance and a popular blog. BigBinary.com |
Find a Job Through Vettery — Create a profile on Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers. Vettery |
ℹ️ Interested in running a job listing in Ruby Weekly? There's more info here. |