gazay/gon: Your Rails variables in your JS
21-Nov-2025 576
If you need to send some data to your js files and you don't want to do this with long way through views and parsing - use this force!
Now you can easily renew data in your variables through ajax with gon.watch!
With Jbuilder, Rabl, and Rabl-Rails support!
For Sinatra available gon-sinatra.
For .Net MVC available port NGon.
For elixir Phoenix available PhoenixGon.
gazay/gon: Your Rails variables in your JS #ruby #rubydeveloper #rubyonrails #gazay/gon: #Rails #variables https://www.rubyonrails.ba/link/gazay-gon-your-rails-variables-in-your-js