gazay/gon
View on GitHub ↗ ★ 3,102 Ruby
Your Rails variables in your JS
5 mentions on Hacker News by 4 people: 3 stories, 2 comments · first 2011-11-09 · latest 2015-08-21
20082026
-
▲ 1
Rails variables in your JavaScript codestory by tmlee · 2015-08-21 · 0 comments
-
…can pass the initial data as a json object directly with the server response. I'm using Rails, and https://github.com/gazay/gon gem does it for you nicely.
comment by amikazmi · 2013-02-16 · in Ember.js or Angular.js? -
▲ 1
Gon v4.0.0 is out with gon.watch featurestory by gazay · 2012-07-24 · 0 comments
-
Would like to see this functionality merged into Gon, https://github.com/gazay/gon . (and maybe Rails core someday).
comment by nc · 2012-04-01 · in Proffer: Stop Action Controller Exposing Instance Variables to Views -
▲ 3
Gon gem — get your Rails variables in your js. Now with Rabl support.story by gazay · 2011-11-09 · 0 comments