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

How Do I Pass Params To Rails Controller Method Then Return Value Using Jquery/ajax?

I am using a click function to first get the array/position, then post it via an AJAX call to a con… Read more How Do I Pass Params To Rails Controller Method Then Return Value Using Jquery/ajax?

Execjs::programerror: Unexpected Character '#'

I'm trying to deploy to Heroku and I am met with this error. I've done some research and tr… Read more Execjs::programerror: Unexpected Character '#'

How To Use Javascript In Ruby On Rails?

I think I'm fundamentally misunderstanding how to implement Javascript in my rails app. My unde… Read more How To Use Javascript In Ruby On Rails?

Ror - Large File Uploads In Rails

I have a rails webapp that allows users to upload videos, where they are stored in an NFS-mounted d… Read more Ror - Large File Uploads In Rails

How To Prepopulate _form With Duplicated Image?

A user can click on a featured_inspiration to prepopulate a new _form with the data from that featu… Read more How To Prepopulate _form With Duplicated Image?

Close Does Not Seem To Work With Websocket

I have this simple javascript code : window.ws = new WebSocket('ws://127.0.0.1:8000/'); ws… Read more Close Does Not Seem To Work With Websocket