开发者

rails' form_for, form_tag no longer working

开发者 https://www.devze.com 2023-01-07 09:52 出处:网络
I have multiple forms in my rails app that were working perfectly up until last night. With no actual modification of anything to do with forms, none of my form tags are even showing up in the HTML an

I have multiple forms in my rails app that were working perfectly up until last night. With no actual modification of anything to do with forms, none of my form tags are even showing up in the HTML anymore.

Is there any quick fix for this, or any known reason 开发者_运维知识库this would occur? Thanks!


I found the solution!

There were no errors, but what happened was I had two helper methods I created last night, one or both of them were conflicting with names used in form generation.

My methods were concat and tag_length, which both seem likely to have interfered :p

0

精彩评论

暂无评论...
验证码 换一张
取 消