Ruby Weekly

View the entire history of the Ruby Weekly newsletters

Issue #454

13 Jun 2019 »

#454 — June 13, 2019

Ruby Weekly

The Ruby Style Guide Gets a Major Facelift — This is truly a one-stop-shop for how to write Ruby code that can be easily read and maintained by other Rubyists.

Bozhidar Batsov

Introducing ActionView::Component: View Components Are Coming to Rails? — This pull request introduces ActiveView::Component based on work done at GitHub, bringing the popular concept of view components into Rails.

Ruby on Rails

Powerful CI/CD Pipelines. Pay Only For What You Use — Built for developer productivity, Semaphore 2.0 allows you to model any CI/CD workflow with fully customizable, powerful pipelines. With the new pricing model you pay only for what you use. Sign up free with GitHub and give it a run-through.

Semaphore 2.0 sponsor

Rouge: A Pure Ruby Code/Syntax Highlighter — Supports over 100 different languages, including Ruby, naturally. It’s a mature project now, but has recently had some releases fixing issues discovered over the years and somehow I’d not heard of it before. GitHub repo.

Jeanine Adkisson

dry-validation 1.0.0 Released — A significant release for a popular DSL-driven database validation library that lets you easily define schemas your own validation rules. GitHub repo.

Piotr Solnica

Using Stimulus and RxJS for an SPA-Like Experience — There’s very little Ruby code here but Stimulus is an interesting JavaScript framework that integrates very well with Rails (it was made by Basecamp, after all) and this looks at using Stimulus and RxJS to get a single page JavaScript app style experience on top of Rails.

Mike Wilson

💻 Jobs

Sr. Software Engineer - Rails (Seattle, WA) — You get it done with Rails, have strong programming fundamentals, are adaptable, and ready to jump in anywhere. Leafly is looking for you.

Leafly

Senior Software Engineer - Semaphore CI (Remote - Europe) — Build an industry-defining product with a great team.

Semaphore

Land a New Dev Job on Vettery — Vettery specializes in tech roles and is completely free for job seekers.

Vettery

📘 Articles & Tutorials

Weird Ruby: Zeroing in on a Couple of Numeric Predicates — There’s not a lot to see here, but it’s certainly an interesting quirk as to why 0.nonzero? returns nil when 1.zero? returns false. Here’s the full story.

Bozhidar Batsov

How to Build a Mini Sinatra in 23 Lines of Code — A deep dive into Sinatra that touches on many other concepts (Rack, et al) and builds a clone to really drive things home.

Forrest Ye

Do You Know What's Hiding in Your App? An App Review Gives Certainty

reinteractive - ROR App Review sponsor

▶  DHH's Opening Keynote at RailsConf 2019 — A “reading” that covers open source politics, how Rails fits and doesn’t fit into this world, how things have and have not changed in 20-ish years, and finding and not finding meaning. Whew.

RailsConf

An Overview of Using Redis::Distributed for Redis Client Side Partitioning in Ruby

Mário Nzualo

Continuous Integration and Delivery to AWS Kubernetes with Semaphore

Tomas Fernandez

🔧 Code & Tools

Behaves: Define and Maintain Behaviors and Contracts Between Classes

Edison Yap

An OmniAuth Strategy for 'Sign In with Apple' — Now that Sign in with Apple is a thing, here’s a way to use it in Ruby.

Naoki Hosoya

Spin Up a GoCD Continuous Delivery Server in Less Than 5 Minutes — Use new GoCD test drive to see how to solve your CI/CD challenges with our first class pipelines, visualizations, and more.

GoCD sponsor

ActiveModelAttributes: ActiveRecord-like Attributes API for ActiveModel — Brings some of the goodies of the Rails 5 Active Record attributes API to ActiveModel too.

Karol Galanciak

ValidatesTimeliness: Date and Time Validation for ActiveModel and Rails

Adam Meehan

screen-recorder: Record your Screen from Ruby — It uses FFI to talk to FFmpeg behind the scenes but is controllable from Ruby and might be something you’d want to integrate with an automated UI testing run, say.

Lakshya Kapoor

Rodauth: Authentication and Account Management for Rack Applications — Built using Roda and Sequel, but can be used with other frameworks. GitHub repo.

Jeremy Evans

Bundler 2.0.2: The Ruby App Gem Dependency Manager — We’re all using Bundler somewhere or other and it’s had a minor update, mostly fixing up a variety of issues as well as dropping Ruby 1.x compatibility code.

Bundler

Active Admin 2.1: The Administration Framework for Rails

Greg Bell and VersaPay Corporation

©