Last Updated: February 25, 2016
· josemarluedke

Initjs: Provides a great javascript structure for your application

Init.js is a Ruby Gem that helps run your javascript only in a page that its necessary.

Along with Rails, you can make a good structure for your javascript. A good example is using the Backbone.js, separating each page into a view of the Backbone.js.

Works fine with Turbolinks from Rails.

See more here: