
Dropdown menu with form data?
1
Javascript
Hey there,
I'm building a dropdown menu for a form, that looks something like this:
- Entry 1
- Subset
- Entry 1
- Entry 2
- Entry 2
The selected option has to be in the params later on.
I'm ...
Christian Kienast replied
Solved

Vue + Webpacker: app works in development but doesn't mount template in production - blank screen with no errors in console!
1
Javascript
I'm using Rails 5.2.0 and Webpacker gem to deploy a Vue application.The show.html.erb file is very simple:<div data-behavior="vue-app"><MyComponent></MyComponent></div>And t...
John Meehan replied

Any Javascript wizards open a one off job fixing upgrading webpack and fixing upgrading page performance on an e-commerce app?
0
Javascript
Pretty much says it all in the email. Legacy code, JS is a nightmare and in urgent need of an upgrade. Rates are flexible. Email me if interested: ams@keemail.me or im askl56 on GR Slack
Andrew Scott posted

Just want to change button text on-click. Coffeescript not making any sense to me.
0
Javascript
Hey guys, trying to do a pretty simple thing but all the information I can find online (for "beginners") seems to omit some core things I'm expected to know, because it doesn't even do so much as t...
NicWickman posted

Thoughts on the best way to upload images via Vuejs front end with Rails 5.2 API backend
0
Javascript
I have an app I've just updated to Rails 5.2 and migrated away from Paperclip for image uploads to S3 to the new ActiveStorage feature. I am able to display some uploaded photos I did with th...
Simon Cooper posted

How to render ssh output
4
Javascript
Might be a basic question, but I can't seem to find any good info elsewhere. Hatchbox has an awesome feature that shows ssh output during deployments and I have a couple of projects that I'd like t...
Quentin Robinson replied

Suggestion: A 'Testing Vue components in Rails' episode
1
Javascript
Alternativel you can just answer here "How would you test a Vue component in Rails?"Loving the Vue vids so far, but it would be great to hear your thoughts on testing the front end. Would this be a...
Jake Anderson replied

How do I ajax query (select) on a huge number of records (zipcodes)?
4
Javascript
Spaces-are-not-working-in-wysiwyg-editor-but-the-question-from-above.
Brandon Buteaux replied
Solved

How do I put a live time(seconds) counter on a page?
1
Javascript
As in it should go 00:00 .. 00:05.. 00.49 ..15:55 to whatever. Wondering how to do this on the front-end.Should I just use jquery? Or something else? Any suggestions?ThanksArjun
William Kennedy replied
Solved

Conflict between Chartkick gem and Trix Editor
1
Javascript
I'm getting an error on pages that use chartkick (both highcharts and chart.js) due to the Trix Editor. Everything works fine but the error being thrown concerns me.Anyone have thoughts?Error with ...
Trevor Owens replied
Solved

Get a partial to be render automatically using an ajax request? The regular request is working fine but now I want to iterate through each month without reloading the whole page
1
Javascript
show.html.erb <div class="calendar_custom"> &nbs...
Jacob Montgomery replied

Render a Rails resource with a React Component
1
Javascript
I'm going round in circles trying to work out, what I think must be a fairly common scenario, of tyring to render a rails resource through a React front end component.
I'm seem to have got as far ...
Ορέστης Καπλάνης replied

Single page apps
0
Javascript
Hello, I was trying to learn how to build a single page app with RoR as backend and a javascript framework as frontend. Are there any episodes that I can refer to, here on Go Rails?
Thanks !
Culverhouse posted

How add Push Api notification with Chatroom?
0
Javascript
How add Push Api notification with Chatrooms? Thanks!
Nikola Okonesh posted

How do I deploy to staging or production environments the stack Vue+Rails
0
Javascript
When I deploy an application using webpacker + vue + rails, and the template of the main component is on the rails view I get a vue error regarding security.
Error:
```
[Vue warn]: It seems you ar...
Raimon Fernandez Sirera posted

update a model attribute with ujs
0
Javascript
i have a page that displays games(model) with a select box for the game result outcome. Game model `has_one :result, autosave: true` and
I have a unique id for each row in the table based on the g...
Joel posted

Vue: share the same bootstrap across multiple files
0
Javascript
Hi, guys!
I'm tired to copy-paste the same piece across multiple files.
```
import Vue from 'vue/dist/vue.js'
import VueResource from 'vue-resource'
import TurbolinksAdapter from 'vue-turbolinks'...
CuamckuyKot posted

Bootstrap Modal with Date Picker, what am I doing wrong?
8
Javascript
I have a Rails 5.1 app with bootstrap 4. I have bootstrap-datepicker throughout my application and it works perfectly or at least as expected. However whenever I try to use it within a modal it w...
jaems replied
Solved

Install a custom loader with webpacker gem
0
Javascript
I am trying to use a Vue.js based material design framework called [Vuetify](https://vuetifyjs.com/) with Rails 5 and the webpacker gem. The styles for this framework are created with the [Stylus](...
Abhinav Mathur posted

Best approach for combining Rails and Javascript
3
Javascript
So I am fairly new to rails dev. I have built several small apps in rails and javascript. There is such much chatter about different frameworks. I am wondering what the best approach would be to...
Ryan Steen replied