~/talk

Master the Rails asset pipeline

links:none on file
slides:none on file

Shipable recipe for packaging Rails front-end assets: a plugin system that powers the Avo gem and is already used by hundreds of applications, supports layered delivery using importmaps, propshaft, ESBuild (or Vite) and npm packages, and documents three practical distribution strategies — publish an npm package, prebuild assets inside the gem, or expose built files via middleware/symlink/rake copy. Examples include Marksmith editor built as an engine, precompiled builds work reliably, and tradeoffs around fingerprinting and CI are spelled out.

AI-written summary · about

  1. 0:00Welcome
  2. 1:07Why asset pipeline matters
  3. 2:29Problems solved
  4. 4:56Evolution of asset pipeline
  5. 7:22Current options
  6. 8:28Rails plugins with asset pipeline
  7. 9:55Import maps for gems
  8. 10:59Adding npm packages to gems
  9. 12:23Advanced JS compilation in gems
  10. 13:47Publishing npm packages for gems
  11. 14:35Unorthodox asset delivery
  12. 17:00Legacy and modern setups
  13. 18:23Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.