~/talk

Master the Rails Asset Pipeline: Best Practices for Apps & Gems

links:none on file
slides:none on file

Explains exact fixes not fluff: shows three ways to ship assets in gems (pin vendor files for importmaps, bundle JS into the gem, or publish an npm package), compares Sprockets vs Propshaft (Propshaft only does four things: fingerprinting, dev server, minimal transpile, load paths), demos with AO and Marksmith sample repos so code actually runs, calls out surprising duplication (37signals included) and when middleware, rake tasks, or symlinks are practical.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Asset pipeline importance
  3. 3:10Problems solved
  4. 5:59Modern pipeline options
  5. 8:07Choosing pipeline tools
  6. 9:11Rails plugins with assets
  7. 10:56Library author requirements
  8. 11:17Import maps for JS
  9. 11:59NPM packages in gems
  10. 13:22JS bundling in engines
  11. 14:23JS bundling integration
  12. 15:47Unorthodox asset distribution
  13. 17:52Middleware asset serving
  14. 19:17CSS with Propshaft
~/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.