Understanding the Asset Pipeline in Ruby on Rails

  Рет қаралды 10,022

webcrunch

webcrunch

Күн бұрын

Пікірлер: 15
@Webcrunch
@Webcrunch 5 жыл бұрын
Note: Right around 20:08 I try and require “log.js”. It turns out you don’t even need to require it thanks to the “require_tree . ” declaration below it in the same file. I also spelled “require” wrong.🤦🏼‍♂️ I just wanted to clear that up!
@carltanner6826
@carltanner6826 2 жыл бұрын
Hey Andy, thanks for the tour.
@firdauskamal8451
@firdauskamal8451 5 жыл бұрын
Just wanted to share my experience. It took me a week to figure out how to import bought templates(themeforest) into Ruby on Rails using Asset Pipelines. And when everything’s worked, another issue came up which is the time to load all the assets (js,css, etc..). I can’t isolated which JS/CSS files needs to be load, in results of slow loading time. Not to mention some headaches when you try to deploy it. You either choose only one UI framework, or UI framework without JS, or just build a Rails API and use React as your front-end. Great video. Keep it up!
@saurabhanand2536
@saurabhanand2536 2 жыл бұрын
Hey, were you able to isolate which JS/CSS files needs to be load?
@fazzyakamello
@fazzyakamello 5 жыл бұрын
Andy. Would love to see how you'd configure "webpacker" in rails projects!
@Webcrunch
@Webcrunch 5 жыл бұрын
I can do that!
@cratag7190
@cratag7190 3 жыл бұрын
How do you do that .container thing in visual code? Great video!
@Webcrunch
@Webcrunch 3 жыл бұрын
I think what you're describing is a VS Code extension I use called Emmet.
@cratag7190
@cratag7190 3 жыл бұрын
@@Webcrunch Wow, thank you for the quick reply. Cheers mate, you're a great teacher
@ahmadkhan9984
@ahmadkhan9984 4 жыл бұрын
Hello can you cover in another video how to handle CSS styles overriding each other when using the asset pipeline? Thank you for your help! In my rails application I'm currently wrapping each page with a unique section tag so that the CSS I write will only affect that page, but I feel like there is a better way to handle this situation.
@dbelyaev
@dbelyaev 5 жыл бұрын
Dear Andy! Are our planning to publish a movie about Rails and GraphQL?
@Webcrunch
@Webcrunch 5 жыл бұрын
It has been on my radar. I'll definitely look into it!
@evakuator8118
@evakuator8118 5 жыл бұрын
I'd like to see blockbuster on ruby on rails
@cdchris512
@cdchris512 2 жыл бұрын
What if I don't have the manifest.js file ?
@masteryourownway
@masteryourownway 2 жыл бұрын
Hello, i still get this error: What can i do? Sprockets::Rails::Helper::AssetNotFound in Pages#home Showing /home/janpeter/code/JanPeterLeWebdeveloper/webbusinesscreator/app/views/layouts/application.html.erb where line #10 raised: The asset "application.js" is not present in the asset pipeline. Extracted source (around line #10): 10
Using Webpack with Ruby on Rails
20:22
webcrunch
Рет қаралды 10 М.
Understanding Ruby on Rails Active Record Migrations
27:30
webcrunch
Рет қаралды 20 М.
PRANK😂 rate Mark’s kick 1-10 🤕
00:14
Diana Belitskay
Рет қаралды 11 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 39 МЛН
FOREVER BUNNY
00:14
Natan por Aí
Рет қаралды 4,8 МЛН
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 8 МЛН
Understanding Active Record Associations
15:16
webcrunch
Рет қаралды 35 М.
Episode #387 - Demystifying the Asset Pipeline
20:19
Drifting Ruby
Рет қаралды 5 М.
Debugging Ruby on Rails
18:56
webcrunch
Рет қаралды 13 М.
Data Analysis with Python for Excel Users - Full Course
3:57:46
freeCodeCamp.org
Рет қаралды 3,1 МЛН
A Tour of Stimulus.js
25:34
webcrunch
Рет қаралды 10 М.
Understanding Active Record Callbacks
13:41
webcrunch
Рет қаралды 6 М.
Ruby on Rails - Railscasts #279 Understanding The Asset Pipeline
11:23
Railscasts Reloaded
Рет қаралды 12 М.
A Quick and Easy Guide to the Asset Pipeline in Rails 7
4:19
PRANK😂 rate Mark’s kick 1-10 🤕
00:14
Diana Belitskay
Рет қаралды 11 МЛН