开发者

rails' form_for, form_tag no longer working

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜