Search Results for "0-javascript-and-css-asset-pipeline-migrating-from-jquery-to-vanilla-javascript"

Lessons





















Forum Threads

Iam desperately trying to deploy my App with Capistrano but it isnt working

2
Rails
Hey Folks, I have always received great help here, so I hope that it will work out this time so shortly before the end. I would like to deploy my app on my server and use capistrano. However, I c...
Sebastian replied
Solved

Using the Trix Editor plus File Upload Attachments Discussion

52
General
Great vid, can this be done with the carrierwave gem?
Gabriel Ursache replied

How to use Javascript via Webpacker in Rails 6 Discussion

17
General
Alternatively to the webpacker way of require the flatpicker css in the `packs/application.js` you can do someting like: ``` /* *= require flatpicker/dist/flatpicker */ ``` In your rails `app/a...
Tony Dehnke replied

How to use ESBuild in Rails with JSBundling Discussion

30
General
This is awesome, I have been using it for a couple of weeks now. I didn’t necessarily think webpacker was slow, except maybe on Heroku builds. But when you use this, you wonder why you put up with ...
Aaron replied

Heroku deployment failing

0
Rails
I am trying to deploy this app to heroku. i get this error with the precompiling asset pipeline. I tried removing jquery from my Gem file but the error persists. log: ... remote: Installing...
Hassanelashram posted

SEEKING FREELANCER - Javascript configuration

17
Javascript
I have been trying for 4 years and 3 months to try to setup a basic rails app. I have bought 10+ books, subscribed to this and several ohter subscription services to try to learn the basics of rai...
Melanie replied
Solved

Organizing Your Asset Pipeline in Development for Speed Discussion

12
General
The sass-rails README says not to use require/ require_tree/require_self in sass/scss files in big, bold letters. Is that warning outdated? If not, what are the potential issues here and why are th...
Lucas Repolês replied

Deploy Ubuntu 14.04 Trusty Tahr Discussion

371
General
The following commands should be slightly modified:cap install STAGES=productioncap production deployI believe it should be the following:bundle exec cap install STAGES=productionbundle exec cap pr...
paul lahana replied

ViewComponents and Tailwind CSS JIT

1
CSS
I created a flash view component to display flash messages. It does work, but the javascript trigger its display does not work as expected. Instead of displaying on the spot, it waits for like 5 s...
Stéphane Paquet replied
Solved

Hatchbox deployment questions

20
Rails
Im launching my app and using your Hatchbox service to help. I was planning on using digitaloceans managed database and wondering how that works with hatchbox and if I need to change anything in m...
Alex Deering replied

Global Autocomplete Search Discussion

29
General
Awesome episode Chris! Thanks!
Thomas Keller replied

Rails & Vue.js Trello Clone - Part 1 Discussion

34
General
Glad you decided to do this :)
don mclamb replied

Stimulus JS Framework Introduction Discussion

27
General
I'm literally figuring out StimulusJS right now on an app, and I was hoping you would do a screencast on it soon and save me some time! Awesome timing :)
joelGarcia93 replied

Using tailwind css in my rails app, patterned after your blog tutorial. How do I get rid of all the whitespace on each side of the page, I want to use the whole screen?

1
CSS
So I have modified by tailwind.config.js file as such: const defaultTheme = require('tailwindcss/defaultTheme') module.exports = { content: [ './public/*.html', './app/helpers/**/*.rb', ...
Mike Cannon replied

Upload Progress with Refile Javascript Discussion

32
General
Hello Chris, is there a good gem to build a progress bar? (for example, show % complete based on how many episodes you've watched)
Nikola Okonesh replied

Integrating Turbolinks into rails 5 app

0
Gems / Libraries
Turbolinks has been giving me a world of trouble and there is a lot of randomness with it depending on where I put it in the application.js file. Right now I have this: ``` //= require jquery3 //...
Alex Deering posted

Having some problems with Using certain data from API calls

1
Rails
Hi i've been struggling for a while now trying to grasp how to use the data received in an api call. A lot of tutorials are either outdated or focus solely on creating API's rather than using them....
kaine Wright replied

Improving In-App Notifications Discussion

24
General
+1 for the ActionCable episode!
Taylor Cooney replied

Recurring events with the ice_cube gem Discussion

47
General
On my app I use a Event and a EventTrans model so for each time a event occurs we can have a record with info and other stuff. So for the Calendar we display the First event with the recurrent on t...

Ruby issue when doing cap deploy production

68
General
Hi, I'm following the Deploy Rails guide. However, when I run cap production deploy I'm getting this error message: $cap production deploy DEBUG[be6b6bd6] Running /usr/bin/env [ -d ...
Paulo Sousa replied