RailsCasts (Mobile)

#324 Passing Data to JavaScript


Listen Later

There are a variety of ways to pass variables from a Rails application to JavaScript. Here I show three techniques: a script tag, a data attribute, and the Gon gem.
...more
View all episodesView all episodes
Download on the App Store

RailsCasts (Mobile)By Ryan Bates

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

58 ratings