gazay / gon

Your Rails variables in your JS
MIT License
3.05k stars 185 forks source link

Rabl live update of table data #194

Open rjrobinson opened 9 years ago

rjrobinson commented 9 years ago

Maybe im not reading something correctly.

I have a rabl template formed. it pulls in the data in json, like it is supposed to.

do I have to type gon.watch.rabl, and then declare the Ajax in a JS file? I thought it did it by itself... the ajax request that is. But why attach it to rabl in the first place?

I am trying to have table data updated live.

there is an id and status field, and id like to have that load when it changes, or every few seconds.