Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ruby

Use 'noty' Js Library In Rails 5

I am trying to make noty.js ( https://ned.im/noty/#/installation - a library for notifications) wo… Read more Use 'noty' Js Library In Rails 5

Js Buttons To Execute Rails Code

I want to have a button that, when clicked, will execute rails code. Is javascript necessary for th… Read more Js Buttons To Execute Rails Code

Rails 4 - Gmaps4rails - Map Won't Render

I'm struggling to get my google maps to work in my Rails app. It was all working fine - I move… Read more Rails 4 - Gmaps4rails - Map Won't Render

How To Parse Javascript Using Nokogiri And Ruby

I need to parse an array out of a website. The part of the JavaScript I want to parse looks like th… Read more How To Parse Javascript Using Nokogiri And Ruby

Change Second Select List Based On First Select List Value In Rails

Updated with answer code at bottom For second select box, show select options for only those staff … Read more Change Second Select List Based On First Select List Value In Rails

Is There A Way To Disable Drag&drop In Dashing?

Tried to dig through the JS, but it's above my head. IMO with many dashboards it does not make … Read more Is There A Way To Disable Drag&drop In Dashing?

Ruby - Parsing Json Coming Via Url

I'm sending a JSON object to ruby with javascript. But I cannot parse it in there. I tried foll… Read more Ruby - Parsing Json Coming Via Url

Parsing Ruby Hash Literal Using Javascript

I need to take raw client text in a web form and send it back to a Tomcat servlet as JSON. For lega… Read more Parsing Ruby Hash Literal Using Javascript