I am trying to add Raty to my rails 4 application, but I was wondering where I need to put it. I assume that the lib folder should just be placed on this path?
Provider / Assets / JavaScripts
And to use the script, I just do <%= javascript_include_tag 'vendor/assets/javascripts/jquery.raty' %>in my files? I want to be able to use it on multiple pages. Also, can I use script in .erb files or just plain html? Totally new to this, so any help is appreciated, thanks.
source
share