About HTML attributes with the value 'false'

So it’s about boolean fields and form serialization. Got it.

No, nothing broke for me, I was just wondering why output the attribute at all. In HTML, foo=“false” means that foo is true. Much more correct for attribute specified in Ruby as { :foo => false } is to produce no output at all, and that we put some special-casing to form helpers like hidden_field to convert booleans to strings prior to sending these attributes to common tag helpers.