This question shows research effort; it is useful and clear
4
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
这个问题的答案特别提到了使用 params [:body-plain]。但是,Rails 会抛出此错误:NameError (undefined local variable or method 'plain' for #<IncomingMailsController:0x0000000913f278>):
如何访问带有连字符的参数?我无法更改参数,因为它们是从第三方 API ( Mailgun ) 发布的。