RubyGems.org

It allows you to target JS to run on all pages, for a particular action on all pages (e.g. index), for all actions for a specific controller, or for one specific controller/action (i.e. a single page).

installgem install page_specific_js
Authors

Sam Pierson

2,487 total downloads 536 for this version
Owners

E0e82cf76295338274c08b92840fe1fa

Gemfile
gem 'page_specific_js', '~> 0.0.4'
Versions
  1. 0.0.4 August 19, 2013 (81 KB)
  2. 0.0.3 July 20, 2012 (80.5 KB)
  3. 0.0.2 January 15, 2012 (80.5 KB)
Show all versions (4 total)
Development Dependencies
  1. jasmine >= 0
  2. rake >= 0