Your Rails variables in your JS!
You can throw your rails variables in your JS files with easy way without data attributes with Gon gem.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
You can throw your rails variables in your JS files with easy way without data attributes with Gon gem.
Post a comment