問題:
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