[英]Is Ruby On Rails itself a Rack app?
所以我从Rack文档中推断出,但也许我错了......
It sure is. 确实是。 You can write rack middleware to add additional routing handlers before the request hits the rails application.
在请求到达rails应用程序之前,您可以编写机架中间件以添加其他路由处理程序。
http://guides.rubyonrails.org/rails_on_rack.html http://guides.rubyonrails.org/rails_on_rack.html
此外,您还可以运行“rake middleware”来查看当前安装的机架模块。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.