简体   繁体   English

在5.1+中未记录的Rails ActionDispatch :: Integration :: RequestHelpers

[英]Rails ActionDispatch::Integration::RequestHelpers undocumented in 5.1+

In http://edgeapi.rubyonrails.org/classes/ActionDispatch/Integration/RequestHelpers.html (and versions before down to 5.1) the documentation of the helpers (get, post, etc) states eg: http://edgeapi.rubyonrails.org/classes/ActionDispatch/Integration/RequestHelpers.html (以及低于5.1的版本)中,帮助程序的文档(获取,发布等)状态如下:

Performs a GET request with the given parameters. See #process for more details.

I can find no documentation for #process - the code doesn't seem to even be implemented that way any more. 我找不到有关#process的文档-该代码似乎甚至不再以这种方式实现。 Am I missing something, or is this a doc bug? 我是否缺少某些内容,或者这是文档错误?

See http://api.rubyonrails.org/v5.1.0/classes/ActionDispatch/Integration/Session.html#method-i-process 参见http://api.rubyonrails.org/v5.1.0/classes/ActionDispatch/Integration/Session.html#method-i-process

I still consider this is poor - it isn't Googlable and I only found it by looking through the source. 我仍然认为这很糟糕-它不是Googlable的,我只能通过查看源代码来找到它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM