Plugins - Inject
Add to favoritesOnly use Inject if you want to do cross-domain calls, in all other cases Ajax is a much more complete and robust solution for remote calls.
Install
- Make sure the inject directory is in $RAILS_HOME/vendor/plugins.
- Copy the inject.js (vendor/plugins/inject/javascript/inject.js) to public/javascript and include it in your views or layouts.
