Extra Credit

active_record_upsert

Real PostgreSQL 9.5+ upserts using ON CONFLICT for ActiveRecord

$gem install active_record_upsert

Official docs outline

Extra Credit builds an outline of active_record_upsert's docs the first time your work uses it. Until then, start at the official documentation.

All 3,925