我正在尝试将jquery-ui自动完成功能实现到rails应用程序中。我在我的rails应用程序中使用了以下模型。我已经在我的家庭控制器中创建了以下操作。def skills_autocomplete render json: @skills
end 我将此操作定义为如下所示: get 'skills_autocomplete' =&g
我正在尝试将我的rails应用程序部署到heroku,但是推送到heroku被拒绝,因为:"Sprockets::FileNotFound:找不到类型为‘application/javascript’的文件://github.com/rails/execjs#readme for more supported runtimes
gem 'theru