问题:
In Ruby on Rails 3 (currently using Beta 4), I see that when using the form_tag
or form_for
helpers there is a hidden field named _snowman
with the value of ☃ ( Unicode \\x9731) showing up. 在Ruby on Rails 3(目前正在使用Beta 4)中,我看到当使用form_tag
或form_for
助手时,会出现一个名为_snowman
的隐藏字段,其值为☃( Unicode \\ x9731)。
So, what is this for? 那么,这是为了什么?
解决方案:
参考一: https://en.stackoom.com/question/DWBx参考二: https://stackoom.com/question/DWBx