我对Rails很陌生,并且正在学习如何使用它,但是在运行"gem install rack-cors“之后,当我尝试启动一个Rails应用程序时,我总是会收到这样的错误: from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.1.1/lib/rails
:format) articles#destroy 您可能注意到表单链接上的delete方法和articles#destroy操作上映射的DELETE请求。路由本身如下所示 Rails.application.routes.draw do
# For details on the DSL available within this file, see