JavaScript Cookie inside Rails
This gem helps adding the awesome js-cookie into rails without adding directly the source code.
Installation
Add this line to your application's Gemfile:
gem "jscookie-rails"Inside application.coffee add:
#= require jscookieAnd that's it!
License
The gem is available as open source under the terms of the MIT License.