且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Rails 3中使用jQuery插件

更新时间:2023-02-21 09:44:56

通常的做法是下载您要使用的插件的缩小版本,并将其保存在public/javascripts目录中.

Normal practice is to download a minified version of the plugin you'd like to use and save it in the public/javascripts directory.

rails install用于Rails插件,而不是jQuery插件.

rails install is for Rails plugins, not jQuery plugins.