This includes the underscore.string library in your application
Add this line to your application's Gemfile:
gem 'underscore-string-rails'
Optionally add a dependency on underscore-rails:
gem 'underscore-rails'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install underscore-string-rails
In any JavaScript file:
//= require underscore.string
It will be minified/uglified/etc. as part of the asset pipeline.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request