Skip to main content


Subscribe to GoRails to join the conversation. Ask questions about your code, get help adding a new feature, and discuss implementation details with other members.

13 posts Gravatar

How do I get redirect to view after create action using Vue.js

Javascript • Asked by Tabish Iqbal

Out of interest, have a weird issue. Trying to do a redirect after create. The record is being created just fine, but get a 500 error on the redirect? Using an ajax call using Vue-resource. Below...

1 post Gravatar


Javascript • Asked by Antonio F.

Hello, You can enter other content into "Ember js". Regards

1 post Gravatar

How do I perform a Search without page reload (I think I need Angular/Turbolinks)

Javascript • Asked by Logan Houston

Hi Everyone, I am trying to make my app a SPA app, and accomplish most of this with erb templates, which I know is not ideal, but it works for now. I need help with performing a search and ...

2 posts Gravatar

How to build options on select tag with VueJS?

Javascript • Asked by Dmitry Amelchenko

For example, let's move to episode "using VueJS for Nested Forms in Rails" and adding model called Position, which association with a Player (belongs_to). And how to implement select tag for choos...

1 post Gravatar

Colorbox & Turbolinks load

Javascript • Asked by Thomas M

Hello, Rails 5.1.0 & Turbolinks5 & Jquery3.1.2 here I'm trying to make jQuery Colorbox works with dynamicly loaded elements (using ActionCable) with no luck. With the implementation below,...

6 posts Gravatar

Getting googlemaps javascript and turbo links working together

Javascript • Asked by Chris Rockwell

Hey Chris - been struggling with this off and on for a bit now. Just trying to add basic google maps using the javascript API (not the gems) to a rails 4.2 app and am having all of the various is...

5 posts Gravatar

Turbolinks and jQuery compatibility on Rails 5

Javascript • Asked by Lauro Silva

I have a hidden field that's activated when clicked on the link using jQuery. When clicking on the link, the field appears just for a second and then disappears. ```javascript $('.use-diff...

2 posts Gravatar

Is possible to check boolean value by JS?

Javascript • Asked by Dmitry Amelchenko

In Rails 4 app i need to implement bootstrap modal when user comes for first time and accept the terms. I'm trying to do something like this: **application.html.haml** ``` ... = content_tag :b...

6 posts Gravatar

simple mde duplicates

Javascript • Asked by Talib Guyani

hi, i followed your tutorial but still simple mde is been diplicated am using rails 5 ``` var simplemde; simplemde = null; $(document).on('ready turbolinks:before-visit', function() { ...

2 posts Gravatar

Building out a mini-framework with CoffeeScript

Javascript • Asked by Daniel LeGrand

A portion of the application I'm working on has a comments page with a form at top to add new comments and a list of comments beneath it. I've been working on using CoffeeScript classes to represe...