Rails 6 Form remote: true Error
2
General
Hi, all!
I am following along with the video on how to make a chat application using action cable. In the video, I believe Rails 5 is being used, however, I wanted to try it out with Rails 6.
Eve...
Jake Smith replied
Solved
https://gorails.com/episodes/webpacker-javascript-in-rails-6
2
General
Hi Chris
Thanks for the Episode.
I'm new for Rails 6, and when I followed your lesson I've got the multi dubbing of the flatpickr on going the back page in a browser. Like this: [see screenshot](h...
Ted Leason replied
Why is application.css working locally but 404 on production server?
5
General
My css works perfect locally, but I get a 404 error for applicaiton.css once deployed. I generated my base app using Jumpstart free version. I confirmed app css is generated on the server in the ...
Chris Oliver replied
Solved
Rails 6 - What Javascript/CSS Framework is good for me?
0
General
Dear community,
since I'm not a good javascript programmer and new to Rails 6 (especially webpacker), I'm looking for a good framework for the whole fancy shit (Slider/Datepicker/Autocomplete/..)....
Chris-P-Chicken posted
Making GeoSearch smooth with AJAX Discussion
2
General
Nice video Chris!
Amanda 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
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
How do you figure out what and how to load the css/scss assets with Webpacker
0
Rails
For Bootstrap you added to `application.scss `(I may have named my folder differently:
```
import "bootstrap"
import 'bootstrap/dist/js/bootstrap'
```
and
```
@import '../css/bootstrap_custom';
@i...
Greg S posted
How to use custom jQuery in Rails 6
2
Rails
I've been thinking about this for a couple of days already.
For some reason my semantic-ui jQuery doesn't work.
So here's what I did.
On my webpack/environment.js:
```
const { environment } = r...
Shabbir Ahmed replied
How do I add minified JS files to the Rails Webpacker
2
Rails
I am trying to add min.js files - and getting an error.
This works while adding a normal .js file:
*- app/javascript/packs/calendar.js*
alert('Calendar loaded')
*-# app/views/calendars/index.ht...
Arjun Rajkumar replied
Solved
Rails 6: Separate styles and layout for dashboard and main (front) site
1
Rails
I will try to explain my issue as much as I can.
I hope you guys can understand and give me an idea / help me.
So I am working on a practice app. There are two separate bootstrap html/css design...
Thomas Blumenfeld replied
How I do use Rails.ajax in vueJs components using webpacker in rails 6
2
Rails
I have created the brand new application in rails 6 with webpacker and VueJS. I am trying to use the `Rails.ajax` to send ajax request request from Vue component to rails controller. I have include...
Marco Beffa replied
Adding external .js files to a new Rails 6 web app
1
Rails
I have created a new rails 6 app. in rails 6, javascript folder is outside assets. I have copied all the css and js files from an existing application to this new one and application.css,applicatio...
Safwan SM replied
Solved
Rails 6. SyntaxError: missing ) in parenthetical (UJS)
0
Javascript
Hi! I use pagination Pagy gem, and button "More..." (more pages Ajax) not work
index.js.erb
```
var colum = document.querySelector("#categories_index");
var pagin = document.querySelector("#ca...
Nikola Okonesh posted
Push changes to Node packages to Heroku
1
Rails
Okay, full disclosure, I upgraded to Rails 6 without fully understanding the consequences of using Actiontext and Webpacker. It's all new to me. So in my folly, I changed some of the Trix css direc...
Dan Donche replied
How to get ngrok working with webpack-dev-server
2
Rails
I run my local dev site on ngrok and the webpack-dev-server spits out errors to the console on a regular basis:
`GET https://localhost:3035/sockjs-node/info?t=1566173800826 net::ERR_CERT_AUTHORITY...
Ghar replied
Rails 6.0 + Heroku + Active Storage + VIPS
7
Servers
VIPS is a 3x faster and 10x less memory hungry image processor that is now available for Active Storage in Rails 6.0. Unfortunately By default Heroku doesn't support VIPS. Do you know of a working ...
Nicolas Brousse replied
Blazer and webpacker
0
General
Hi, lads!
It looks like blazer requires default asset pipeline and doesn't work with webpacker. Did you saw any hack/fork how to make them work together?
Alexey Poimtsev posted
Webpacker: How do I use images inside my .vue single file components?
0
Rails
We're using Rails and Webpacker with Vue single file components.
How do we insert images inside the `` ? A far as I can see there are many options.
**OPTION 1**:
Use .vue.erb (with webpacker erb...
TL posted
public/javascript/lib files not available in production
5
Rails
I have added some javascript files to pubic/javascripts/lib and I have referenced them thus
... type="text/javascript" src="/javascripts/lib/add_all_plots.js" ...
They can be loaded in dev no p...
Chris Oliver replied