#576 — October 28, 2021 |
🧶 Some weeks are busy weeks, some weeks are quiet weeks.. this is one of the latter in the Ruby world :-) Luckily Jemma is back with a new Tip of the Week though! |
Ruby Weekly |
Chartkick 4.1: Attractive JavaScript Charts in One Line of Ruby — A long standing library (almost 9 years old!) that saves you from fighting with hooking up whatever the latest JavaScript charting libraries are, if you don't want to. GitHub repo. Andrew Kane |
Publishing Gems Securely with a YubiKey — Package security has continued to pop up as a big issue in several dev communities recently. So adding 2FA to your Rubygems account is the right thing to do, but if you publish a lot, entering OTPs can be a pain, as Aaron tenderly explains. Aaron Patterson |
Another Bug Bites the Dust — Easy-to-use error and performance monitoring tool. Supports 15+ Ruby frameworks (Rails, Sidekiq, Resque, and more). No-brainer pricing, all features are available on all plans. New trial users get a box of Dutch cookies on request. AppSignal sponsor |
Explaining Ruby Fibers — While this post does cover the basics, much of the focus is on now 3.0’s FiberScheduler along with gems like Polyphony are going to make using Fibers much more common. Sharon Rosner |
To Learn a New Language, Read Its Standard Library — The author of Ruby Under a Microscope is learning Crystal (a statically typed, compiled language but that’s heavily inspired by Ruby) using some very simple yet instructive algorithms. Pat Shaughnessy |
QUICK BITS:
|
|
📕 Articles & Tutorials |
A Lesser Known Capability of Ruby's Szymon Fiedler |
Testing Your JSON API in Ruby with Paul Götze |
Supporting Fractions in Ruby — A look at using Ruby’s Ben Pickles |
JavaScript Test Code Coverage in Rails Apps — Measuring Ruby test code coverage is one thing, but what about for the JavaScript contained within your Rails apps? Ariel Juodziukynas |
Building, Testing, and Deploying Google Cloud Functions with Ruby — Google Cloud Functions is Google’s answer to AWS Lambda – essentially a serverless platform running functions in the cloud without having to maintain a server. Subomi Oluwalana |
Shortcut Puts the Agile in Agile and the “Can” in Kanban Shortcut (formerly Clubhouse.io) sponsor |
▶ Discussing Encryption and Security in Ruby and Rails with Basecamp's Jorge Manrubia — Jorge Manrubia is a security developer at BaseCamp. He discusses the encryption features added in Rails and explains where they fit into the ecosystem for Hey.com. If you’d prefer to read about his work, A Story of Rails Encryption is worth checking out. Ruby Rogues Podcast podcast |
Git Bisect: Travel Through Time and Bugs — Learning Remi Mercier |
Being RESTful About Your Routes — A basic intro to REST concepts and how Rails applies them to routes. STEFAN VERMAAS |
An Introduction to Rails Transactions
|
🛠 Code & Tools |
Gammo: A Pure Ruby HTML5 Compliant Parser — Gammo conforms to the WHATWG HTML specification for turning HTML into DOM trees you can work with from your code. Unlike Nokogiri it’s pure Ruby too so may be easier to move about, although in my own experiment it wasn’t particularly fast. namusyaka |
Caffeinate: A Rails Engine for Drip Campaigns/Scheduled Email Sequences — Provides a DSL to create scheduled email sequences which can be used by ActionMailer without any additional configuration. Josh Brody |
Video for Ruby: Build Video in Just Two API Calls — Mux Video is an API-first platform that makes it easy to build beautiful live video that streams everywhere. Mux sponsor |
Opal 1.3: A Ruby to JavaScript Compiler — v1.3.0 adds support for more Ruby features including Adam Beynon and Contributors |
Counter Culture 3.0: 'Turbo-Charged' Counter Caches for Rails Apps — Boasts improvements over standard Rails counter caches. (I’ve always liked the name of this project.) Magnus von Koeller |
Maxitest 4.1: Minitest, Plus All The Features You Always Wanted.. — Like what? Well, there’s a list.. Michael Grosser |
Sidekiq Statistic 2.0: See Statistics About Your Sidekiq Workers
|
Fiddle 1.1: The Official |
|