我有一个嵌套资源form_for。这里是嵌套的路线来演示我的设置。form_for提交带来错误324.
resources :residents do
resources :assessment_plan_forms
resources :blood_pressure_record_forms
resources :fund_record_form1s
resources :fund_record_form2s
resources :id_record_forms
resources :incident_accident_forms
resources :med_record_forms
resources :personal_care_forms
resources :resident_care_agreement_forms
resources :visitation_appointment_forms
resources :weight_record_forms
end
我可以从驻地/显示视图(它提供了所有你在嵌套的资源看片断的形式)来,没有任何问题assessment_plan_form /新视图成功导航。
但是,当我单击窗体上的提交按钮时,我收到以下错误。
No data received
Unable to load the webpage because the server sent no data.
Here are some suggestions:
Reload this webpage later.
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
当我点击reload超链接chrome provide,我能够成功重定向到assessment_plan_form/show视图。
我希望能够深入了解哪里出了问题以及解决方案以解决此问题。
我已经包括了以下要点链接供您考虑。如果我需要提供更多信息,请告诉我,我会将其提供。
Gist Link - includes code snippets, server log, and routes
我想解释为什么我的问题是downvoted。由于对贡献者不明显,我会解释。由于在匿名批评中没有收到任何“建设性”的东西,我不幸地更可能重复所谓的天真犯罪。 – sirramongabriel