Getting googlemaps javascript and turbo links working together
5
Javascript
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...
Greg Blass replied
dymanic data filter with jquery
0
Javascript
Hi Chris I want to replace the create action of my app with dynamic jQuery data pulling so that user has a chance to see the data pulled from the DB before the actual create happens , so currently...
JM posted
Dynamic select boxes with Rails 4
2
Javascript
Hey there I am trying out a dynamic select box with rails 4 and I am stuck on where to put the js code because the form exists in a nested form. So should the code go in the js file for the form ac...
JM replied
Ajax refresh while persisting params
0
Javascript
I'm maintaining an old Rails app and am trying to have a my index action use a form_tag to pass the params of a region so I can scope the results of calls by region. This works fine and dandy, but...
shakycode posted
jquery.turbolinks not working on my app
2
Javascript
I'm using both jquery and turbolinks on my app and because turbolinks don't make full page loads I need some of my js to fire when navigating between pages using turbolinks, I really don't want to ...
Chris Oliver replied
Solved
Is it possible to incorporate React + Redux into existing Rails application?
11
Javascript
I have been working on creating a Medium clone to learn Ruby on Rails. It started out as just a plain Rails app but as the app evolved I started using React in the front end (using react-rails gem)...
Aaron replied
medium/gorails like loading progress at the top of the page
5
Javascript
Chris,
What turbolinks compatible solution (gem or anything) would you recommend for implementing loading progress bar for page load?
Thanks,
Szilard
Sean M replied
Solved
Issues with JQuery AtWho
5
Javascript
Hello, I enjoyed your screencast on implementing the @ functionality for user interactions. What I'm trying to figure out is how to handle the index.json.jbuilder when using devise
jQuery ->
...
Lee Terng Gio replied
Handle multiple binding when using CoffeeScript & Turbolinks
11
Javascript
Hi,
After watching the screencast about extracting JS code to CS classes, I tried to follow the same pattern.
The problem I am facing is that the page loads new items through AJAX and in order for ...
Chris Oliver replied
Page Specific Javascript
4
Javascript
I just came across this article that talks about a gem that allows you to implement cleanly space specific javascript.
http://brandonhilkert.com/blog/page-specific-javascript-in-rails/
However, i...
Greg Cosgrove replied
Coffeescript Instantiation
2
Javascript
I've got a bunch of images thumbnails in an admin area. Wherever one appears, I'd like to be able to click on it, open up a modal with a form, and let the attributes of the image be edited from tha...
Chris Oliver replied
Coffeescript Polling Issues
6
Javascript
I'd like to reload an iframe when the images needed to generate the preview it will display are cached by background workers. However, I can't figure out how to get setTimeout() to work correctly (...
shakycode replied
CoffeeScript check if a checkbox is checked?
10
Javascript
I have some simple CoffeeScript that toggles a div based off of if a checkbox is checked in a Rails form. The CoffeeScript looks like this:
```
$("#bill_patient_checkbox").change ->
$("#...
David Becerra replied
Render \r\n in javascript.erb
4
Javascript
HI,
I try to add the value of a text field in a form from a other database field.
I use the following javascript
```javascript
$("#assignment_conditions").empty();
$("#assignment_conditions").val...
Chris Oliver replied
Javascript frameworks videos?
11
Javascript
Hey Chris,
Just curious if you would plan on adding any videos using Angular, Ember or Backbone with Rails?
Thanks!
shakycode replied