underscore-string-set-rails
Гем включает в себя underscore-js и underscore.string. При этом underscore-js расширена функциями underscore.string
при помощи .mixin. Доступ к функциям обоих библиотек осуществляется через _
This gem is combination of two libraries: underscore-js and underscore.string. The underscore-js extended via mixin.
Установка (Installation)
Add this line to your application's Gemfile:
gem 'underscore-string-set-rails'
And then execute:
$ bundle
Add this line to your application.js
//= require underscore-string-set-rails