Overview
Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Learn to master Rails asset management in this technical conference talk that demystifies the complexities of the Rails Asset Pipeline. Explore fundamental web concepts including DOM manipulation and browser JavaScript loading mechanisms, then dive deep into Rails-specific asset management tools like Sprockets, Propshaft, and modern alternatives including js-bundling, importmaps, and Vite. Discover practical debugging techniques for common asset pipeline issues that can derail deployments, from mysterious JavaScript loading problems to incorrect asset paths. Gain insights into bundling versus non-bundling strategies and understand when to use the defer argument for optimal performance. Address the challenges of shipping assets in gems through three different approaches, complete with their respective advantages and disadvantages, while learning to avoid common pitfalls like dependency duplication. Walk away with actionable optimization strategies, code snippets with accompanying gists for future reference, and access to sample repositories that demonstrate best practices for both application development and gem creation.
Syllabus
RailsConf 2025 Master the Rails Asset Pipeline: Best Practices for Apps & GemsAdrian Marin
Taught by
Ruby Central