#494 — March 26, 2020

Read on the Web

Ruby Weekly

Why and How to Host a Rails App with AWS Elastic Beanstalk and RDSElastic Beanstalk is one of AWS’s most mature services and handles the deployment of apps on AWS resources. Here’s a thorough walkthrough of using it to deploy a Rails app onto AWS.

Amos Omondi

▶  Sorbet: Discussing Typed Ruby with Dmitry PetrashkoSorbet is a type checker for Ruby originally built at Stripe, the payment processing company. This hour long episode of Software Engineering Daily digs deep with one of the original creators. If you haven’t been sold on why things like Sorbet might help you out, this show should help.

Software Engineering Daily podcast

Get the Most Out of Redis — Seamless scaling, memory usage maps, key size tracking, and more.

RedisGreen sponsor

An Unsafe Object Creation Vulnerability in the json Gem — If you’re using the json gem (and most of us are indirectly) try to upgrade to version 2.3.0 or later to avoid a new unsafe object creation vulnerability. More info here.

Yusuke Endoh

RuboCop-ing with Legacy: Bring Your Ruby Code Up to 'Standard' — We’ve seen many RuboCop posts over the years, but this one goes a bit further, encouraging your team to work toward ‘Standard’, the Ruby style to rule them all.

Vladimir Dementyev

Webpacker 5.0 Released — Besides changing required versions, 5.0 supports multiple files per entry (with no config!) just like webpack itself.

Prathamesh Sonpatki

💻 Jobs

Senior Rails Engineer (Remote, Full Stack Option) — We’re looking for a passionate developer to join our unique team and build beautiful, modular and secure business file transfer solutions.

Swiss Cyber Gate

Full-Stack Engineer (React.js / Rails) (f/m/d), Berlin, Germany — Role with Impact. Exciting projects. Benefits + Relocation. Building the world’s leading talent platform. Join the Heyvolution.

HeyJobs GmbH

Find a Dev Job Through Vettery — Vettery is completely free for job seekers. Make a profile, name your salary, and connect with hiring managers from top employers.

Vettery

📘 Articles & Tutorials

How to Build Multi-Step Forms in Rails — This is a gem-free approach (yay!) that uses session storage (um, yay?)

Jason Swett

How to Renew Let's Encrypt Certificates with ACMEv2 using Ruby — Did you know there’s a Ruby-powered ACME client you can use to renew Let’s Encrypt certificates from Ruby? Neither did I, but here’s how to do it all from Ruby code.

Damjan Rems

eBook: Best Practices for Optimizing Postgres Query Performance — Learn how to get a 3x performance improvement on your Postgres database and 500x reduced data loaded from disk in this free pganalyze eBook.

pganalyze sponsor

Securing SSH Keys in Use — Some interesting Ruby-powered digging around in SSH keys here.

Krzysztof Zych

▶  Discussing Servers, systemd and Sidekiq with Mike Perham — An hour long chat with Mike Perham of Sidekiq fame about the business side of Sidekiq, systemd, and server infrastructure in general.

Rails with Jason podcast

Using Rack::Proxy to Serve Multiple React Apps on the Same Domain — This is for local development and could be used for non-React setups.

Josh Software

🛠 Code and Tools

PGSync: Sync Postgres Data Between Databases — Fast, aims to provide good security, and you can sync partial tables or groups of tables. The README shows off some interesting examples.

Andrew Kane

render_async 2.1.5: Render Partials Asynchronously with JS — A new version with some neat new features including two new events that are automatically fired when render_async finishes its work, either successfully or in error.

Rendered Text

Authlogic 6.0: An ActiveRecord-based Authentication Solution

Binary Logic

ViewComponent 2.0: View Component Framework for Rails — GitHub uses this in production itself, so you know it’s well maintained.

GitHub

Yet Another Sinatra Bootstrap App — We’ve seen a few of these ‘Sinatra with a few things attached’ apps over the years, and it’s always interesting to see the different routes people take.

Alejandro Bezdjian

JRuby 9.2.11.1 Released — Fixes just a single issue around sprintf formatting.

JRuby Core Team

pry-byebug: Add Step-by-Step Debugging and Stack Navigation in Pry

David Rodríguez