#484 — January 16, 2020 |
Ruby Weekly |
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 |
A Migration Path to Bundler 2+ — If you’ve tried using Bundler 2, you probably know about the elevated RubyGems version requirements or other issues. Here’s a path the Bundler team could use (and has, partly.) Benoit Daloze |
Next-Gen Open Source Rails Commerce Platform — Workarea is an enterprise-grade Ruby on Rails commerce platform supporting merchants doing $150 million+ online and is designed to integrate commerce, content, search, and insights in a single admin. This Rails app uses MongoDB & ElasticSearch. Workarea sponsor |
A Deep Dive Into 'Did You Mean?' — Since version 2.3.0, Ruby comes bundled with Hrvoje Šimić |
Writing a Program That's Both Ruby and Python — Is this useful? I don’t think so. Is this interesting enough to warrant 30 seconds of your time? Sure 😄 Nazar Kanaev |
3 Ways Webpack Surprises Web Developers — One for Rails 6 developers. “When I first started working with Webpack, I was in for a few surprises. I assumed how things should behave, based on my previous experience with the Rails asset pipeline, only to learn through experience how I was wrong.” Ross Kaffenberger |
The Ruby Bibliography: Academic Writing on Ruby — It’s been a couple of years since we last linked to this list of theses and peer-reviewed papers and articles on or about Ruby, but 2019 saw six additions if you’re seeking some highbrow bedtime reading. Chris Seaton et al. |
💻 Jobs |
Software Engineer, Full-Stack (Ruby/Rails/JS) — Health Tech, join our distributed engineering team in our quest to make doctors more effective using Ruby, Rails, Vue.js. Doximity |
Full-Stack or Front-End Engineer - Rails/React (Remote/NYC) — Got 2+ years of experience? Come help build the next iteration of our growing digital recovery platform centered on providing alcohol abuse treatment. TEMPEST |
Find a 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 |
Testing Signed and Encrypted Cookies in Rails — “I’d never tested the value in a signed cookie before and it wasn’t immediately obvious what to do..” Phil Nash |
The Pros and Cons of Using Daniele Pestilli |
Track Down Ruby Performance Issues Fast. Get Back to Coding with Scout — Scout continually tracks down N+1 database queries, sources of memory bloat, performance abnormalities and more. ScoutAPM sponsor |
▶ Discussing Greater Than Code Podcast podcast |
▶ Building an Asynchronous Scheduler for Ruby — (Note: The first 45 seconds are silent.) Samuel Williams |
Contributing to Ruby MRI — Do you have a resolution around contributing to Ruby? If so, start with these brief pointers. Kir Shatrov |
A Sequel Cheatsheet — Sequel is many folks’ favorite replacement for ActiveRecord. Devhints.io |
🛠 Code and Tools |
Rufo: An Opinionated Ruby Code Formatter — Intended to be used via the command line as an editor plugin (Atom, Emacs, Sublime Text, Vim or VS Code) to auto-format files on save or on demand. Aims to be zero config and offer ‘one true’ formatting approach. Ary Borenszweig |
Solidus: A Rails-Based E-Commerce System — It’s been around for some time, but yesterday’s release introduces Rails 6 support. Solidus |
Learn About Automated Postgres EXPLAIN Plan Insights on pganalyze pganalyze sponsor |
Grape 1.3: An Opinionated Framework for Creating REST-like APIs Michael Bleigh |
Closure Tree: Make Active Record Models Support Tree Hierarchies — Boasts that it’s *“dramatically more performant than ancestry and acts_as_tree, and even more awesome than awesome_nested_set”. It’s an old project but has just had its first release in over a year. Matthew McEachen |
A Ruby Quine in GitHub Contribution Squares — And to think it only took 38 years of Yusuke Endoh |
rouge: A Pure-Ruby, Pygments-Compatible Code Highlighter — This week’s release adds support for Objective C++, GHC (Haskell) and FreeFEM. rouge-ruby |
DropletKit: The Official DigitalOcean API Client for Ruby DigitalOcean |